javax.net.ssl.SSLHandshakeException occurs.
Closed this issue · 3 comments
Daiki-Kawanuma commented
Since March 1, 2018, IBM Cloud invalidated TLS 1.0, TLS 1.1, and activated TLS 1.2 only. As a result, using this SDK with IBM Java, "javax.net.ssl.SSLHandshakeException" now occurs.
This is discussed at the following URL.
https://issues.apache.org/jira/browse/HTTPCLIENT-1784
Is it possible to repair to explicitly use TLS 1.2?
Daiki-Kawanuma commented
This code works for me.
IBM JDK: 1.8
WAS: 17.0.0.2 Liberty
SSLContext sslContext = SSLContexts.custom()
.useProtocol("SSL_TLSv2")
.build();
CloseableHttpClient httpclient = HttpClients.custom()
.setSSLContext(sslContext)
.build();
techiemanas commented
I am also facing this issue, Using IBM JDK 7, Expecting a quick fix
ManavIBM commented
TLS1.2 included as part of latest release 1.5.0.
Closing the issue.