JBoss Community

Securing JMXConnector (RMI) via SSL

created by hmr_mueller in JMX Development - View the full discussion

In JBoss 6 M4 the JMXConnector defined in jmx-jboss-beans.xml (org.jboss.system.server.jmx.JMXConnector) does not allow to use SSL although this can be done with standard Java JMX over RMI classes. The SocketFactories are hard coded:


         DefaultClientSocketFactory clientSocketFactory = new DefaultClientSocketFactory();
         DefaultSocketFactory serverSocketFactory = new DefaultSocketFactory();
         registry = LocateRegistry.createRegistry(rmiRegistryPort, clientSocketFactory, serverSocketFactory);


Since credentials and other sensitive data are sent over the wire, using SSL should be possible without writing your own JMXConnector.


Thanks, Harald

Reply to this message by going to Community

Start a new discussion in JMX Development at Community