TestSSL tests the connection to SSL enabled server.
Using this can insure you've java installation supports 256bit encryption.
Download the dist/TestSSL.zip file to a new directory.
This will give you these files:
TestSSL.jar
lib/p4java-20NN.N.xxxxx-bundle.jar
Run the below commands from that directory.
Make sure the correct java (java.exe) is in your path
or provide the absolute path to java.
If you have more than one java installation, ensure you're
using the desired java installation.
Two test methods are available:
1) testssl.SSLSocketClient
This performs an SSL handshake to the designated server using java.
java -cp TestSSL.jar testssl.SSLSocketClient <host> <port>
or
java -cp TestSSL.jar testssl.SSLSocketClient <p4d host> <p4d port>
Example:
java -cp TestSSL.jar testssl.SSLSocketClient google.com 443
2) testssl.GetSSLServer
This performs a handshake to a p4d SSL enabled server using P4Java.
java -cp TestSSL.jar testssl.GetSSLServer p4javassl://<p4d host:port> <TLS version>
For additional debugging information:
java -Djavax.net.debug=ssl:handshake -cp TestSSL.jar testssl.GetSSLServer p4javassl://<p4d host:port> <TLS version>
To view the TLS versions supported:
java -cp TestSSL.jar testssl.GetSSLServer