...
Where the password you want to encrypt is passed with the input argument, while the password argument is a secret used by the encryptor.
In a similar fashion you can test-out your passwords like:
Code Block |
$ bin/activemq decrypt --password activemq --input eeWjNyX6FY8Fjp3E+F6qTytV11bZItDp
...
Decrypted text: mypassword |
Note: It is recommended that you use only alphanumeric characters for the password. Special characters, such as $/^&, are not supported.
The next step is to add the password to the appropriate configuration file, $ACTIVEMQ_HOME/conf/credentials-enc.properties by default.
...
If you want to run the broker with this configuration, you need to do the following:
...