We are in process to migrate a new nexus repo. The below are the platform information:
Nexus Repo Server: HTTPS only supports TLS 1.2
Application server: FUSE 6.1
Java(TM) SE Runtime Environment (build 1.7.0_141-b31)
Java HotSpot(TM) 64-Bit Server VM (build 24.141-b31, mixed mode)
However, when we run karaf command "features:addurl <...> ", we are keeping getting javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure.
We have set the following JVM options:
-Djavax.net.ssl.trustStore="<....>"
-Djavax.net.ssl.trustStorePassword="<...>"
-Djavax.net.debug=all
-Djdk.tls.client.protocols=TLSv1.2
-Dhttps.protocols=SSLv3,TLSv1,TLSv1.1,TLSv1.2
The issue has been resolved and we need to add the following JVM option to resolve SSL Handshake exception: