Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to connect with java7 Jconsole to JMX server secured over TLS1.2

5a6d0692-5097-43c9-9437-6b53f1a1c32bJan 5 2016 — edited Jan 5 2016

Hi all,

I didn't find any way to manage java7 jconsole connect to server JMX server (the server application runs java8 jre) when JMX secured over TLS1.2.

the properties that specified on server side:

-Dcom.sun.management.jmxremote.ssl=true

-Djavax.net.ssl.keyStore=keystore.jks

-Djavax.net.ssl.keyStorePassword=keyStorePassword

-Djavax.net.ssl.keyStoreType=JKS

-Dcom.sun.management.jmxremote.ssl.enabled.protocols=TLSv1.2

-Dcom.sun.management.jmxremote.ssl.enabled.cipher.suites=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

the properties that specified on cleint side:

-Djavax.net.ssl.trustStorePassword=trustStorePassword

-Djavax.net.ssl.trustStore=trustStore.jks

When I'm trying to connect with java7 Jconsole ( jconsole -J-Djavax.net.ssl.trustStore=trustStore.jks -J-Djavax.net.ssl.trustStorePassword=trustStorePassword), the following handshake exception is raised:

handling exception: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Exception in thread "main" java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:

       javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

note that the same execution with java8 jconsole is working well.

Any idea guys?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 2 2016
Added on Jan 5 2016
0 comments
1,653 views