Hi all, I am currently struggling with a problem attempting to use a client certificate to connect to a secure website using httpclient v4.2.1.
When SSL debugging is enabled, I can see that despite the following -D options being passed, the keyStore is completely ignored: -Djavax.net.ssl.trustStore=/path/to/cacerts -Djavax.net.ssl.keyStore=/path/to/certificate.p12 -Djavax.net.ssl.keyStorePassword=password -Djavax.net.ssl.keyStoreType=PKCS12 The file /path/to/cacerts is read correctly, and the trust chain of the remote server is correctly verified. The file /path/to/certificate.p12 is completely ignored, and the remote server rejects the connection claiming (correctly) that the certificate is missing. Can anyone confirm whether a bug exists with httpclient and the ability to specify a client certificate? All the docs I've read to date suggest that httpdclient reads javax.net.ssl.keyStore, but the behaviour I am seeing would suggest this is broken. Can anyone confirm? Regards, Graham --
smime.p7s
Description: S/MIME cryptographic signature
