Created
June 2, 2015 20:04
-
-
Save asaph/ca1d4358dd8ba1772ad6 to your computer and use it in GitHub Desktop.
Generate Self-Signed Cert in JKS format using Java's keytool
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
#!/bin/sh | |
keytool -genkey -validity 365 -alias "youralias" -keyalg "RSA" -keystore .keystore -keypass "yourkeypass" -storepass "yourstorepass" -dname "CN=localhost, OU=, O=, L=, S=, C=" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment