Hello JB,
Yes, I have to edit the jetty.xml to replace the WebConsolePort host to be
able to logon/use the Admin WebConsole.
From: <property name="host" value="127.0.0.1"/>
TO: <property name="host" value="0.0.0.0"/>
I have also modified the following config/properties file.
* webapps/admin/WEB-INF/webconsole-embedded.xml - to use and point to the
ENC file
FROM:
<value>file:${activemq.home}/conf/credentials.properties</value>
TO:
<value>file:${activemq.home}/conf/credentials-enc.properties</value>
* webapps/api/WEB-INF/classes/jolokia-access.xml - to allow the CORS
- Need to disable and remove the tag <strict-checking/>
And, I used these properties for this Security Encryption method
* credentials-enc.properties - both with enc format
* jetty-realm.properties - both with enc format
* activemq.xml - with the simpleAuthenticationPlugin and
authorizationPlugin
Thoughts and any help is appreciated.
Thank you...
On Tue, Sep 15, 2020 at 1:48 PM Poseidon Olympian <[email protected]>
wrote:
> Hello,
>
> Would like to ask for some help and assistance on my issue.
>
> I have setup and configured the ActiveMQ with the use of the security and
> encryption. I have followed everything on the site in setting up an
> encrypted broker using a simple authentication plugin. Everything works but
> NOT on when posting a message or browsing queues from the console.
>
> - https://activemq.apache.org/encrypted-passwords
>
> I'm getting message exception below whenever I hit the queues or run a
> curl command.
> Caused by: javax.servlet.ServletException: Could not post JMS message:
> javax.jms.JMSSecurityException: User name [system] or password is invalid.
>
> I hope you are able to help me to resolve this issue?
>
> Thank you so much in advance.
>
> Regards...
>