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

cannot used masked password via CLI

XMLWordPrintable

      Despite a fix for this upstream issue, unable to use masked password via the CLI interface.

      $ cat etc/artemis-users.properties | grep admin
      admin = foobar
      
      $ bin/artemis queue stat --user admin --password 'foobar' --url tcp://localhost:61616
      Connection brokerURL = tcp://localhost:61616
      //works
      
      $ bin/artemis mask foobar
      result: 30cae6f5d5200a86
      
      $ bin/artemis queue stat --user admin --password "ENC(30cae6f5d5200a86)" --url tcp://localhost:61616
      Connection brokerURL = tcp://localhost:61616
      Exception in thread "main" ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ229031: Unable to validate user from /127.0.0.1:35946. Username: admin; SSL certificate subject DN: unavailable]
      

              rhn-support-jbertram Justin Bertram
              rhn-support-shiggs Stephen Higgs
              Samuel Gajdos Samuel Gajdos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: