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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.