On Java 1.8 default TLS protocol is v1.2. On Java 1.6 and 1.7 default is obsoleted TLS1.0. I get this error on Java 1.8, because url use old TLS1.0 (like Your – You see ClientHello, TLSv1
). To resolve this error You need to use override defaults for Java 1.8.
System.setProperty("https.protocols", "TLSv1");
More info on the Oracle blog:Diagnosing TLS, SSL, and HTTPS.