How to convert .pfx file to keystore with private key?

Using JDK 1.6 or later It has been pointed out by Justin in the comments below that keytool alone is capable of doing this using the following command (although only in JDK 1.6 and later): keytool -importkeystore -srckeystore mypfxfile.pfx -srcstoretype pkcs12 -destkeystore clientcert.jks -deststoretype JKS Using JDK 1.5 or below OpenSSL can do it all. … Read more