SSLSocketFactory.createSSLContext does not process trust store
--------------------------------------------------------------
Key: HTTPCLIENT-952
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-952
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 4.1 Alpha2
Reporter: Angela Schmid
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);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]