Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2013 12:57
Show Gist options
  • Save anonymous/5927482 to your computer and use it in GitHub Desktop.
Save anonymous/5927482 to your computer and use it in GitHub Desktop.
Java - Keytool – Export a X.509 Certificate against a Key in a KeyStore - http://codeoftheday.blogspot.com/2013/07/java-keytool-export-x509-certificate.html
keytool -export -alias test-key -keystore test-keystore -rfc -file test-key.cer
Enter keystore password: test-keystore-pwd
Certificate stored in file <test-key.cer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment