How to install certificate in JDK ?

Here are the steps to install the certificate in JDK (post JDK installation) :

  1. Download the code zip of InstallCert from this link : https://github.com/escline/InstallCert
  2. Unzip the file and go to that location from the command prompt.
  3. Run the below commands to install the certificate :
    1. javac InstallCert
    2. java InstallCert yourURL  (replace it with your QMetry URL – example : abc.qmetry.com )
  4. Copy the generated jssecacerts file in the directory to your $JAVA_HOME\jre\lib\security