Skip to content

Instantly share code, notes, and snippets.

@okuoku
Created October 28, 2017 17:01
Show Gist options
  • Save okuoku/2de07f31e48606142b716a7fcc174222 to your computer and use it in GitHub Desktop.
Save okuoku/2de07f31e48606142b716a7fcc174222 to your computer and use it in GitHub Desktop.
"c:\Program Files (x86)\Java\jre1.8.0_121\bin\keytool.exe" -genkeypair -keystore keystore.jks
 -storepass PASSWORD00 -keypass PASSWORD00 -alias jetty -keyalg RSA -keysize 2048 -validity 5000
 -dname "CN=*.stripe.local OU=nexus3 O=stripe" -ext "SAN=DNS:stripe.local" -ext "BC=ca:true"
"c:\Program Files (x86)\Java\jre1.8.0_121\bin\keytool.exe" -printcert -sslserver stripe.local:8443 -rfc > out.cer
[{"Config":"4d83c32ad497f063ae77377afb9285ed3f8a2d2dc52eb53268a7152777b25add.json",
"RepoTags":["wins:import"],"Layers":["e1b1db55a3c19a5e4a13ec189f9327aaedc4b2a0b9282422dab1dc3ec73b030f\\layer.tar",
"1e49c27c5a0fe5187d41446870fa34fc3e8f0fb86d9783b5ab804c622d5f7dd8\\layer.tar"]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment