Entrust Datacard

Entrust Certificate Services Support Knowledge Base

Last Modified: 2016-07-05 09:19:48.0

How do I convert my .pfx file to a Java Keystore?

Article Number: 46389

Question:

How do I convert a PFX file to a Java Keystore?

Answer:

Using Keytool run the following command below:

keytool -importkeystore -srckeystore mypfxfile.pfx -srcstoretype pkcs12 -destkeystore clientcert.jks -deststoretype JKS
 
  • Replace the value highlighted in yellow with the name of the PFX file you wish to convert to a Java keystore (JKS)
  • Replace the value highlighted in green to the name of the keystore file you wish to create (it must be a JKS file).

 

PLEASE NOTE: You must change the highlighted Italic text to your own file names

If you have any questions or issues please feel free to contact https://www.entrust.net/customer_support/contact.cfm

TN7925