jmx4r icon indicating copy to clipboard operation
jmx4r copied to clipboard

jmx connection through SSL

Open pivimarco opened this issue 7 years ago • 0 comments

SSL connection with certificate doesn't work... It should require only to add SslRMIClientSocketFactory to environement map passed to JMXConnectorFactory, something like this:

env = HashMap.new env::put "com.sun.jndi.rmi.factory.socket", SslRMIClientSocketFactory.new

then if trustore and keystore are passed are set as system properties or passed as jvm arguments it is possible to establish an SSL connection.

pivimarco avatar Dec 13 '17 16:12 pivimarco