Wednesday, June 1, 2011

Converting JKS file to p12 format using Keytool.exe


Here is an example of keytool command... this will convert a certificate within JKS file to P12 format.


keytool -importkeystore -srckeystore file.jks -destkeystore file.p12 -srcstoretype JKS -deststoretype PKCS12 -srcstorepass mypassword -deststorepass mypassword -srcalias myaliastname -destalias myaliastname -srckeypass mypassword -destkeypass mypassword

No comments:

Post a Comment