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]"