1# Copy the certificate into the directory Java_home\Jre\Lib\Security
2# Change your directory to Java_home\Jre\Lib\Security>
3# Import the certificate to a trust store.
4
5keytool -import -alias ca -file somecert.cer -keystore cacerts -storepass changeit [Return]
6
7Trust this certificate: [Yes]
8