nativeInstalleractivemq

Modify the ActiveMQ connector password

To change the connector password, follow these steps:

  • Generate a new secret-password pair:

    $ installdir/activemq/bin/activemq encrypt --password NEWSECRET --input NEWPASSWORD
    
  • Substitute the encrypted password (from the last line of the previous command output) in installdir/activemq/conf/credentials-enc.properties:

    activemq.password=ENC(NEWENCRYPTEDPASSWORD)
    
  • Change the value of the secret in the file installdir/activemq/conf/activemq.xml:

    <bean id="configurationEncryptor" class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor">
       <property name="algorithm" value="PBEWithMD5AndDES"/>
       <property name="password" value="NEWSECRET"/>
    </bean>
    
Last modification September 5, 2018