I'm assuming by modifying the startup command of ActiveMQ you want me to include the new environment variable. But according to the documentation that is not the best approach. If that environment variable is added it configures that SSL for all brokers and not just the one defined in the activemq.xml. I have read that documentation and update the
sslContext of the
activemq.xml. All of those steps work, but it follows the steps to create self signed certificates.
The issue is learning how to load a pre-existing certificate to the keystore. I found the link to TomCat and reviewing that documentation.
But the overall issue I'm having is finding documentation of a production like environment. Where it does not go through the steps to generate self signed certificate, but rather goes through the steps on importing a certificate into a keystore for activemq to use.