-
Hi all, I created via operator a cluster with two nodes with TLS enabled. I would like to test what happens if, for any reason, I need to update the secrets containing certificates (e.g because they are close to expire). I've updated the secret via kubectl and checked that mounted files are updated but PODs didn't restart. So
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
ActiveMQ Artemis load the certificates when acceptors start, you need to reload the acceptor with the management API or using the web console, see org.apache.activemq.artemis.api.core.management.AcceptorControl.reload()
|
Beta Was this translation helpful? Give feedback.
-
I think the broker should do this by default see: https://issues.apache.org/jira/browse/ARTEMIS-4164 |
Beta Was this translation helpful? Give feedback.
ActiveMQ Artemis load the certificates when acceptors start, you need to reload the acceptor with the management API or using the web console, see org.apache.activemq.artemis.api.core.management.AcceptorControl.reload()
https://github.com/apache/activemq-artemis/blob/2.27.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AcceptorControl.java#L50