How to initiate ssl connection using SSLv2
问题 I want to initiate an SSL connection with a remote server using SSLv2. I am using Java. I tried to get the supported protocols in my socket using: String[] suppProtocols=socket.getSupportedProtocols(); System.out.println("The protocols supported for this socket are: "+Arrays.toString(suppProtocols)); and I got this in the output: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] Now, I read that Java does not support SSLv2 and SSLv2Hello only sends hello message using SSLv2. I can't grasp what