Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1974

Support masked passwords in management.xml

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Major
    • AMQ 7.2.2.GA
    • AMQ 7.2.0.GA
    • configuration
    • None
    • Release Notes
    • AMQ Broker now supports masking the values of the `key-store-password` and `trust-store-password` settings the in management.xml file. These values are used when you secure remote JMX access with SSL.
    • Documented as Feature Request
    • AMQ Broker 1839

    Description

      While using AMQ 7.2.0 with JMX via SSL, masking the keystore and truststore password in the etc/management.xml file does not seem to be working.

      "2018-09-06 11:18:33,239 ERROR [org.apache.activemq.artemis.core.server] Can't init JMXConnectorServer: Keystore was tampered with, or password was incorrect" in the "log/artemis.log".
      

      where configuration in management.xml file:

      <connector
               connector-port="1099"
               connector-host="localhost" secured="true"
               key-store-path="/home/test.keystore.jks"
               key-store-password="ENC(3a34fd21b82bf2a822fa49a8d8fa115d"
               trust-store-path="/home/test.truststore.jks"
               trust-store-password="ENC(3a34fd21b82bf2a822fa49a8d8fa115d)"/>
      

      It appears password in "management.xml" file cannot be masked. However, it works if the keystore and truststore password are provided without masking.

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            rhn-support-ptyagi Priyanka Tyagi (Inactive)
            Roman Vais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: