extract jks from PKCS12 file keytool -importkeystore -srckeystore privateKeyFile.p12 -srcstoretype PKCS12 -destkeystore personalKeyStore.jks debug ssl mode -Djavax.net.debug=SSL