• 0

Tomcat/JMX monitoring with SSL



Has anyone enabled SSL on JMX and gotten it to work ?

Following directions on Tomcat | LogicMonitor, I can make it work with authentication but "com.sun.management.jmxremote.ssl=false"

If I set that to true I'm getting 
Fail to get the jmx result - java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"

I have also tried to pass "Djavax.net.ssl.keyStore" and "Djavax.net.ssl.keyStorePassword" with no luck.

SSL to my web page (using the same keystore) works fine so I would assume that the file is ok.. the only item I see in the catalina.out log that might have something that helps  ?
"03-May-2021 12:18:05.238 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]"

Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.