Import PKCS#12 certificates into a Java Keystore

by Wolfram Saringer  (2012-06-04)
last change: 2012-06-04


keytool -importkeystore \
-deststorepass KEYSTORE_PASSWORD \
-destkeypass KEYSTORE_PASSWORD \
-destkeystore KEYSTORE_FILENAME \
-srckeystore INPUTFILE \
-srcstoretype PKCS12 \
-srcstorepass INPUTFILE_PASSWORD \
-alias 1


all articles represent the sole opinion of their respective author. all content comes without any warranty for correctnes, despite due diligence.