Copy the files broker.ks and broker.ts to the server where ActiveMQ is installed.
Edit the activemq.xml file.
Navigate to the <AMQ install path>/conf/ folder and open the activemq.xml file.
Add the transport connector to enable SSL in the transportConnectors section.
<transportConnector name="ssl" uri="ssl://0.0.0.0:61617?trace=true"/>
Add the keystore or truststore paths and their passwords in the sslContext section.
<sslContext> <sslContext keyStore="file:///root/activemqkeystore/broker.ks" keyStorePassword="novell" trustStore="file:///root/activemqkeystore/broker.ts" trustStorePassword="novell"/> </sslContext>
Restart ActiveMQ.
NOTE:For more information about enabling secure transport on ActiveMQ, see Using Spring to configure SSL for a Broker instance.