Encrypted password is not recognized within the broker-connections / password attributes

Solution Verified - Updated -

Issue

  • AMQ broker does not accept the encrypted password in the broker-connection.
  • The amqp-connection configuration handler does not allow ENC(...) values for the user and password attributes. These values should be handled using the same approach as other security credentials when processing the broker.xml configuration.
      <broker-connections>
         <amqp-connection uri="tcp://localhost:5672" name="receiver"  user="guest" password="ENC(80cf731af62c290)" retry-interval="100">
            <!-- This will create one receiver for every queue matching this address expression -->
            <receiver address-match="#" role="guest"/>
         </amqp-connection>
      </broker-connections>

Environment

  • Red Hat AMQ Broker
    • 7.10.0

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