How to encrypt JMX password

Solution Unverified - Updated -

Issue

  • Please let me know the procedure to Encrypt JMX password. currently it's configured as plain text password.
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.password.file=/Test/eap/5.1.2/jboss-as/bin/jmxremote.password"
JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.access.file=/Test/eap/5.1.2/jboss-as/bin/jmxremote.access"

cat jmxremote.password
user password

cat jmxremote.access
user readonly

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content