Import Not Trusted Certificates Into JDK Security
Join the DZone community and get the full member experience.Join For Free
// Useful for open an SSL connection to a not trusted site // keytool is provided by Sun's JDK
keytool -import -trustcacerts -alias
-file -keystore $JAVA_HOME/jre/lib/security/cacerts
Java Development Kit Java (programming language) security
Opinions expressed by DZone contributors are their own.