How To Convert A .PFX Certificate Store Into A Java Keystore (JKS) File

Article: 100037482
Last Published: 2020-10-22
Ratings: 5 6
Product(s): eDiscovery Platform

Description

The command to use to convert from .PFX to .KEYSTORE:

keytool -importkeystore -srckeystore <pathtoPFX> -srcstoretype pkcs12 -destkeystore <pathtoNewKEYSTORE>new-server.keystore -deststoretype JKS

This command can be run from any location within a Command Prompt, as long as you specify the destination path to retrieve the newly created .KEYSTORE file.

The command will prompt for the new keystore password twice, and then prompted for the source PFX password. Once the password entered correctly, the conversion will proceed.

Was this content helpful?