You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2026/02/18 17:28:00 UTC
[jira] [Resolved] (AMQ-9857) ManagementContext should support sslContext injection
[ https://issues.apache.org/jira/browse/AMQ-9857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved AMQ-9857.
---------------------------------------
Resolution: Duplicate
Moved to GiHub Issue now.
> ManagementContext should support sslContext injection
> -----------------------------------------------------
>
> Key: AMQ-9857
> URL: https://issues.apache.org/jira/browse/AMQ-9857
> Project: ActiveMQ
> Issue Type: Improvement
> Components: JMX
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: low-hanging-fruit
> Fix For: 6.3.0
>
>
> If an user wants to use SSL with JMX, the only option today is to configure via the command line ({{{}-Dcom.sun.management.jmxremote.port=xxxx -Dcom.sun.management.jmxremote.ssl=true{}}}).
> This configuration doesn't use the sslContext, meaning that the user might have to duplicate the SSL configuration two times:
> # the {{sslContext}} in {{activemq.xml }}that can be used in {{transportConnector}}
> # the same configuration via the command line ({{{}com.sun.management.jmxremote*{}}})
> It would be great to be able to inject the {{sslContext}} in the {{<managementContext/>}} to use an unique configuration.
> Something like:
> {code:java}
> <sslContext>
> <sslContext id="fooContext"
> keyStore="file:./path/broker2.ks" keyStorePassword="password"
> trustStore="file:./path/client2.ks" trustStorePassword="password"/>
> </sslContext>
> <managementContext>
> <managementContext createConnector="true" sslContext="#fooContext"/>
> </managementContext> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact