24 Apr 2014 
Comodo Support Home |
Support Center » Knowledgebase » PFX/P12 to JKS (Java KeyStore)
 PFX/P12 to JKS (Java KeyStore)
Solution Question: How do I move a certificate from IIS / PFX (.p12 file) to a JKS (Java KeyStore)?
Answer: Run the following command:

keytool -importkeystore -srckeystore PFX_P12_FILE_NAME -srcstoretype pkcs12 -srcstorepass PFX_P12_FILE -srcalias SOURCE_ALIAS -destkeystore KEYSTORE_FILE -deststoretype jks -deststorepass PASSWORD -destalias ALIAS_NAME

Note: To find the srcalias, list the contents of the PFX/P12 file:

keytool -v -list -storetype pkcs12 -keystore PFX_P12_FILE > FILENAME.TXT As this writes the output of the command to a file with the name of FILENAME.TXT.

Article Details
Article ID: 1283
Created On: 16 Feb 2010 04:17 PM

 This answer was helpful  This answer was not helpful

 Login [Lost Password] 
Remember Me:
 Latest News  
 Article Options
Support Home | Comodo Home | Submit a Ticket | Knowledgebase | Troubleshooter | News | Downloads

by Kayako SupportSuite v3.70.02