This is for testing SSL keys / certs.
javac SSLserver.java
java SSLserver port
Pass in JVM options for various trust stores
java -Djavax.net.ssl.keyStore=KeyStoreName -Djavax.net.ssl.keyStorePassword=changeit SSLserver port
Add: -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol -Djavax.net.debug=ssl
to java options