Steps to clear the SSL certificate errors

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

Comments

Popular Posts