views:

281

answers:

2

Hi All,

How to configure .jks file to p12. jks is java key store file so how can i convert to p12 format.

+1  A: 

The following page gives you a set of useful SSL commands, and you will find your answer.

Laurent Etiemble
A: 

Convert a JKS file to PKCS12 format (Java 1.6.x and above)

keytool -importkeystore -srckeystore KEYSTORE.jks -destkeystore KEYSTORE.p12 -srcstoretype JKS -deststoretype PKCS12 -srcstorepass mysecret -deststorepass mysecret -srcalias myalias -destalias myalias -srckeypass mykeypass -destkeypass mykeypass -noprompt

from A few frequently used SSL commands

Daniel Silveira