add certificate to java truststore

add certificate to java truststore
  • goto the directory java_home\Jre\Lib\Security:
  • Copy somecert.cer to java_home\Jre\Lib\Security:
  • excute following command:
‮t refer‬o:lautturi.com
> keytool -import -alias ca -file somecert.cer -keystore cacerts -storepass changeit 

Trust this certificate: [Yes]
Created Time:2017-08-30 09:26:55  Author:lautturi