Folks, I need to interact with a https url using 2 way ssl. I have been given a pfx file which is the client cert.
I have used OpenSSL to create the pem file and am now researching to see if I can use Apache HttpClient and specifically the AuthSSLProtocolSocketFactory here. I noticed that AuthSSLProtocolSocketFactory supports only the X509 format which means that I would need to convert to this X509 format. Right? Can I use the PKCS12 private key and cert with Apache HttpClient directly. Will I be required to write my own implementation ofSecureProtocolSocketFactory? (which I would want to avoid, i guess ;)). Any tips or pointers to resources are appreciated.
