Created
May 25, 2018 11:22
-
-
Save dineshr93/e9b6ce15763d1e398c8b8cea9cfef526 to your computer and use it in GitHub Desktop.
Steps to clear the SSL certificate errors
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
Steps to clear the SSL certificate errors | |
1. Go to cacert location. (C:/Program Files/Java/jre7/lib/security/cacerts) | |
2. Dump the info in cacerts into java_cacerts text file using below command. | |
keytool -list -v -keystore cacerts > java_cacerts.txt | |
3. Get the site's certificate, serial number and Issuer in the details tab and search if it is already present. (Click the lock icon beside your address -> more information -> view certificate) | |
4. If not export the certificate available in the details tab in a .der format(X.509 Certificate). | |
5. Then import that der into the java cacerts by using below command. | |
keytool -import -alias example -keystore cacerts -file ex.der |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment