Created
April 23, 2014 19:21
-
-
Save otaviomedeiros/11228918 to your computer and use it in GitHub Desktop.
java import cef certificates
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
# import certificates | |
sudo keytool -import -alias cef.addtrustexternalcaroot -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -file "/home/otavio/certificados/AddTrustExternalCARoot" -storepass changeit | |
sudo keytool -import -alias cef.comodorsacertificationauthority -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -file "/home/otavio/certificados/COMODORSACertificationAuthority" -storepass changeit | |
sudo keytool -import -alias cef.comodorsaorganization -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -file "/home/otavio/certificados/COMODORSAOrganizationValidationSecureServerCA" -storepass changeit | |
# list imported certificates | |
sudo keytool -list -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" -storepass changeit | grep cef | |
# remove certificates | |
sudo keytool -delete -alias cef.addtrustexternalcaroot -keystore "/usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment