Created
January 27, 2016 16:41
-
-
Save garethahealy/3f028cb44025996fba7d to your computer and use it in GitHub Desktop.
key tool generate
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
| keytool -genkey -keystore server-keystore.jks -alias jonserver -storepass password -validity 360 -keysize 2048 -dname "CN=jonserver.jbosson33.vagrant.local, OU=Development, O=Gareth Healy, L=Sheffield, S=South Yorkshire, C=UK" | |
| keytool -export -rfc -keystore server-keystore.jks -storepass password -alias jonserver -file jonserver.cer | |
| keytool -import -trustcacerts -keystore client-truststore.jks -storepass password -file jonserver.cer -alias jonserver -noprompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment