Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1 Alpha2
Description
org.apache.http.conn.ssl.SSLSocketFactory.createSSLContext() does not process a provided trust store.
Only the default (cacerts) is processed. An additional provided trust store is ignored.
Adding the "trusted" certificate to the keystore, the peer is authenticated.
Eventually
tmfactory.init(keystore);
needs to be
tmfactory.init(truststore);