Knowledge Base


How to convert keystore file to pkcs12 file (for the cert issued by Network agent)
#generate the cert file from the keystore by the alias_name #
keytool -exportcert -alias <alias name for cert> -file <yourfile.crt> -keystore <keystore.jks>
##have to convert keystore file to pkcs12 mode in p12 version##
keytool -importkeystore -srckeystore <keystore.jks> -destkeystore <keystore.p12> -deststoretype PKCS12
# generate the private key file (pem) from the new key store file (p12) #
openssl pkcs12 -in <keystore.p12> -nocerts -nodes -out <privatekey.pem>
# generate pfx file by new certfile and private key #
openssl pkcs12 -export -out <cert.pfx> -inkey <privatekey.pem> -in <yourfile.crt>
Need help?
Need help making a purchase? Contact us today to get your certificate issued right away.
Live chat
Click the button below or click "Chat with an Expert" to start chatting with us now!