The steps to encrypt the jboss console password:

1) Issue following command to get the encrypted password.

echo -n password | openssl dgst -md5 -binary | openssl base64

2) Add following lines in <Jboss Home Directory>/server/default/conf/login-config.xml inside <application-policy name=”jmx-console”>

<module-option name=”hashAlgorithm”>MD5</module-option>

<module-option name=”hashEncoding”>base64</module-option>

3) Uncomment below line in <Jboss Home Directory>/common/deploy/jmx-console.war/WEB-INF/jboss-web.xml


4) Add the password which you have generated in step 1 to the following file.

<Jboss Home Directory>/server/default/conf/props/ like below


Leave a Reply

Your email address will not be published. Required fields are marked *