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:
	 can be used to create SSL connections that allow the target server to authenticate with a self-signed certificate.
	 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.
	 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.