Last active
January 5, 2019 15:53
-
-
Save hoangong/a2252e4e419f18195a1346d7bbc78ec3 to your computer and use it in GitHub Desktop.
JVM cert command #java #cert #jvm
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
list CAs | |
keytool -list -keystore $(/usr/libexec/java_home)/jre/lib/security/cacerts | |
Add new CA | |
sudo keytool -keystore $(/usr/libexec/java_home)/jre/lib/security/cacerts -importcert -alias new_cert -file cer_file.cer/pem | |
default pass: changeit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment