After thinking about this a bit more it made more sense to me for the plugin to be defined on a per-acceptor and per-connector basis. Therefore I made the configuration part of the broker & client URLs via the new "trustManagerFactoryPlugin" parameter. I opened a JIRA [1] and sent a PR [2].
Justin [1] https://issues.apache.org/jira/browse/ARTEMIS-2580 [2] https://github.com/apache/activemq-artemis/pull/2923 On Mon, Oct 14, 2019 at 4:35 AM Modanese, Riccardo <riccardo.modan...@eurotech.com.invalid> wrote: > Hello, > > I have some security (SSL stack and ACLs) related use cases that > seem to be not implemented in Artemis code. > > For example I need to plug a custom X509TrustManager on Artemis broker > acceptors. After looking at the source code I think I found a way: > > > https://github.com/riccardomodanese/activemq-artemis/tree/sslConfigurableTrustManager > > What do you think? I would like to contribute to the project, if the > community sees a value on it. > > Regards > > Riccardo >