I am using Apache HttpClient 4.3 to interact with the API of hubic.com. My minimal reproducable example is just a one liner:
<
It looks like you are not using java 1.8
In Java 1.8 the default TLS protocol version is v1.2, whereas in Java 1.6,1.7 default is TLS1.0. As you can see in logs ClientHello, TLSv1.2 it means you are either using java 1.6 or 1.7 now you can either switch to 1.8 or Just add
static { System.setProperty("https.protocols", "TLSv1.2"); }
in your application class before main class
keeping you current java version
.. hope this helps !!