Justin Bertram created ARTEMIS-5340:
---------------------------------------
Summary: PEM provider not actually optional
Key: ARTEMIS-5340
URL: https://issues.apache.org/jira/browse/ARTEMIS-5340
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Justin Bertram
Assignee: Justin Bertram
Work was done via ARTEMIS-4710 to make the dependencies for the PEM security
provider optional. However, that work was not complete.
> Additionally, by avoiding a global import on PemKeyStoreProvider, and only
> referencing it upon use, those who wish would be able to exclude the
> dependency when the functionality is not used.
The provider class still has to be loaded by the JVM the first time any
reference to {{SSLSupport}} is made. Which is done when enabling ssl on any
acceptor, e.g.:
{noformat}
Caused by: java.lang.NoClassDefFoundError:
de/dentrassi/crypto/pem/PemKeyStoreProvider
at
org.apache.activemq.artemis.core.remoting.impl.netty.NettyAcceptor.<init>(NettyAcceptor.java:294){noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact