This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/activemq-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new d2479f6 Automatic Site Publish by Buildbot
d2479f6 is described below
commit d2479f621677b51d80b799cba0295e350bb2f3e7
Author: buildbot <[email protected]>
AuthorDate: Tue Jul 20 17:16:55 2021 +0000
Automatic Site Publish by Buildbot
---
output/encrypted-passwords.html | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/output/encrypted-passwords.html b/output/encrypted-passwords.html
index 367efca..f5a2f27 100644
--- a/output/encrypted-passwords.html
+++ b/output/encrypted-passwords.html
@@ -105,6 +105,15 @@ Decrypted text: mypassword
</code></pre></div></div>
<p><strong>Note:</strong> It is recommended that you use only alphanumeric
characters for the password. Special characters, such as <code
class="language-plaintext highlighter-rouge">$/^&</code>, are not
supported.</p>
+<p>As of the 5.16.0 release, support has been added to specify an algorithm
+parameter to the “encrypt” and “decrypt” commands. By default, the algorithm
+that is used is “PBEWithMD5AndDES”. To use a more modern encryption algorithm
+you can specify:</p>
+<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>$ bin/activemq encrypt --password activemq --input
mypassword --algorithm PBEWITHHMACSHA256ANDAES_256
+...
+Encrypted text:
h/cWj/ZZelMt3Y7NSzUG2vHYSnfWK561qjNg9Ywyr9yT72ru7pR4IEUnHLIdLSOb
+</code></pre></div></div>
+
<p>The next step is to add the password to the appropriate configuration file,
<code class="language-plaintext
highlighter-rouge">$ACTIVEMQ_HOME/conf/credentials-enc.properties</code> by
default.</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre
class="highlight"><code>activemq.username=system
activemq.password=ENC(mYRkg+4Q4hua1kvpCCI2hg==)