O'Reilly logo

Java EE 6 Cookbook for Securing, Tuning, and Extending Enterprise Applications by Mick Knutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling JMX over SSL on GlassFish server

GlassFish has the ability to allow connections to JMX over SSL. This is an easy change to make and it is a great security benefit, so in this recipe we will go through the steps to add SSL support to GlassFish and VisualVM to connect over SSL.

Getting ready

To enable SSL-encrypted connection for JMX, a few configuration items as well as SSL keystore preparation must be completed first.

SSL keystore

The GlassFish server is distributed with a self-signed SSL keystore located at $GLASSFISH_HOME/glassfish/domains/domain1/config/keystore.jks and will be used for this recipe.

SSL JMX configuration

This recipe will configure the JMX connection to leverage GlassFish authentication which will either set the security-enabled ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required