Java Keystore SSL/HTTPS Test To use, simply run from the command line: java Test https://www.google.com To compile first and the use, execute: javac Test.java java Test https://www.google.com