Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
4.5.2
-
None
-
IBM Java, many versions including latest Java 8.
Description
A simple client program fails to connect to any site that requires TLSv1.2. The attached ApacheGet.java program, run with org.apache.httpcomponents/httpclient version 4.5.2 and given the URL https://www.sandbox.paypal.com fails with:
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
when run on the latest released IBM Java, pxa6480sr3fp12-20160919_01(SR3 FP12) (available in a Docker image ibmcom/ibmjava:8-sdk). The same run is successful on a recent Oracle Java 8.
The similar, simple, Get.java program that uses the built-in Java libraries instead of Apache HttpClient works fine on both IBM Java and Oracle Java.