Last active
November 14, 2018 08:01
-
-
Save npathai/c40dd638ea66c37a8093b69b9269684e to your computer and use it in GitHub Desktop.
Import Certificate Chain (Root, Intermediate and Client/Server) and Private key in Java KeyStore (JKS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -importkeystore -srckeystore middleware_keystore_org -destkeystore private_key.p12 -deststoretype PKCS12 | |
openssl pkcs12 -in private_key.p12 -out private_key.pem -nodes | |
openssl pkcs12 -export -inkey private_key.pem -in Meydan1-certnew_941.cer -name test -out test.p12 | |
keytool -importkeystore -srckeystore test.p12 -srcstoretype pkcs12 -destkeystore middleware_keystore_try3.jks | |
keytool -list -v -keystore middleware_keystore_try3.jks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment