3.3. Enable password encryption for non-fabric environment in A-MQ

download PDF

Red Hat JBoss A-MQ provides a set of options for enabling password encryption. To protect the passwords, you must set the file permissions of the file so that it can be read only by administrators. To provide additional protection, you can also encrypt the stored passwords using a message digest algorithm.
To enable the password encryption feature using the MD algorithm, follow the below instructions:
  • Edit the InstallDir/etc/org.apache.karaf.jaas.cfg file.
  • For example, the following settings would enable basic encryption using the MD5 message digest algorithm:
    	encryption.enabled = true = basic
    	encryption.prefix = {CRYPT}
    	encryption.suffix = {CRYPT}
    	encryption.algorithm = MD5
    	encryption.encoding = hexadecimal
The encryption settings in the org.apache.karaf.jaas.cfg file are applied only to the default karaf realm in a standalone container.
Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.