Java > SSL


※上記の広告は60日以上更新のないWIKIに表示されています。更新することで広告が下部へ移動します。

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