Hi Naveen-

ActiveMQ JMX with SSL is known to work properly, so the most likely issue is a 
certificate or configuration issue in your current setup. 

You are on the right path; however, we need more info to help point you to a 
fix. Are you getting any error messages when trying to connect or log messages? 
 

Thanks,
Matt Pavlovich

> On May 7, 2024, at 2:07 AM, Naveen Kumar <naveen1609ku...@gmail.com> wrote:
> 
> Hi all,
> 
> I'm using Apache ActiveMQ Classic 5.16.7 version. My requirement is to
> enable SSL and authentication for the JMX URL to prevent from RMI.
> 
> I have generated certificates using keystore and added in the activemq/conf
> Later added below lines in activemq-admin.bat as mentioned in the document
> <https://activemq.apache.org/components/classic/documentation/how-do-i-use-ssl>
> but
> still unable to enable SSL. Need help regarding this.
> 
> set ACTIVEMQ_SUNJMX_START=-Dcom.sun.management.jmxremote.port=1616
> -Dcom.sun.management.jmxremote.authenticate=true
> -Dcom.sun.management.jmxremote.ssl=true
> set ACTIVEMQ_SSL_OPTS =
> -Djavax.net.ssl.keyStore=%ACTIVEMQ_HOME%/conf/broker.ks
> -Djavax.net.ssl.keyStorePassword=Admin@123
> -Djavax.net.ssl.trustStore=%ACTIVEMQ_HOME%/conf/client.ts
> -Djavax.net.ssl.trustStorePassword=Admin@123
> 
> 
> Thanks,
> Naveen.

Reply via email to