jboss fuse 6.1 features:addurl TLS1.2 Failed due to javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

223 views Asked by At

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
1

There are 1 answers

0
Decai Zhu On

The issue has been resolved and we need to add the following JVM option to resolve SSL Handshake exception:

-Dhttps.cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256