User Tools

Site Tools


info:cryptography:openssl:convert_key
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

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 15:37 by andunix