Created
January 6, 2015 03:42
-
-
Save georgeOsdDev/2cf100106edcbd0f3b93 to your computer and use it in GitHub Desktop.
cert file to jks
This file contains hidden or 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
# https://docs.oracle.com/cd/E19416-01/820-5959/6nhaosbus/index.html | |
# http://wiki.eclipse.org/Jetty/Howto/Configure_SSL | |
openssl pkcs12 -export \ | |
-in ./my.crt \ | |
-inkey ./my.key \ | |
-certfile intermediate.crt \ | |
-out ./keystore.pkcs12 \ | |
-name "xitrum" | |
keytool -v -importkeystore \ | |
-srckeystore ./keystore.pkcs12 \ | |
-srcstoretype pkcs12 \ | |
-destkeystore ./my.jks \ | |
-deststoretype jks \ | |
-destalias "xitrum" \ | |
-destkeypass "xitrum" \ | |
-deststorepass "xitrum" | |
-alias "xutrun" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment