When I execute the following code, why is the first handshake SSLv2, not TLSv1 or SSLv3?
How to use TLSV1 or SSLV3 for first handshake in Java?
String
For TLSv1: Starting the client jvm with
-Dhttps.protocols="TLSv1"
or using
System.setProperty("https.protocols", "TLSv1");
solved the problem for me.