Using jconsole (JMX) with SSL encryption
Using jconsole with SSL encryption.
Using jconsole
with SSL requires the same JMX changes to cassandra-env.sh as with
nodetool
. See using nodetool
(JMX) with SSL encryption. You do not need to create
nodetool-ssl.properties, but you must use the same JVM
keystore and truststore options on the Jconsole command line.
Prerequisites
Procedure
-
Copy the keystore and truststore files created in the prerequisite to the
system where jconsole is launched. In this example, the files are
server-keystore.jks
andserver-truststore.jks
. -
Run
jconsole
using the JVM options:jconsole -J-Djavax.net.ssl.keyStore=server-keystore.jks -J-Djavax.net.ssl.keyStorePassword=myKeyPass -J-Djavax.net.ssl.trustStore=server-truststore.jks -J-Djavax.net.ssl.trustStorePassword=truststorePass
If no errors occur,
jconsole
launches a session with the node. If connecting to a remote node, enter the hostname and JMX port in Remote Process. If using authentication, enter the username and password.