Wednesday, May 22, 2013

How to install officially certificate on your JDK


How to install officially certificate on your JDK 


On your page, click on the https icon (location bar, left side, generally)
Click on Certificate Information
Click on Details tab and then Copy To File

Then, run the following command  (adjust the cert file path and the JDK path on which you want to install the certificate)

keytool -import -file "C:/temp/certxxx.cer" -alias lptagsso -keystore "C:\Program Files\Java\jdk1.7.0_03\jre\lib\security/cacerts"

You're required to type the keytool password. By default, it is changeit