User Tools

Site Tools


info:cryptography:openssl:convert_key

This is an old revision of the document!


Convert a Key

Convert P12 to Java Keystore

keytool -importkeystore -srckeystore testkey.p12 -srcstoretype pkcs12 -srcalias 1 -destkeystore testkey.jks -deststoretype jks -destalias testkey

You can add -deststorepass PASSWORD to set the password on the command line. If you don't, keytool will ask you for a password.

info/cryptography/openssl/convert_key.1418917037.txt.gz · Last modified: 2014-12-18 16:37 by andunix