Java > SSL

Examples of SSL customization in HttpClient
There are several custom socket factories available in our contribution package. They can be a good start for those who seek to tailor the behavior of the HTTPS protocol to the specific needs of their application:
・EasySSLProtocolSocketFactory
	 can be used to create SSL connections that allow the target server to authenticate with a self-signed certificate.
・StrictSSLProtocolSocketFactory
	 can be used to create SSL connections that can optionally perform host name verification in order to help preventing man-in-the-middle type of attacks.
・AuthSSLProtocolSocketFactory
	 can be used to optionally enforce mutual client/server authentication. This is the most flexible implementation of a protocol socket factory. It allows for customization of most, if not all, aspects of the SSL authentication.


proxyに関する設定なのだけど、
HttpClientについても解説がされており、
情報として有用と思われたのでメモ













EOF
最終更新:2012年06月07日 09:35