--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/93fd2b98-20af-460e-b802-cd54f479835fn%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/8a058632-90d8-49d8-9ad4-6b10b549b86dn%40googlegroups.com.
-------------------------------
RabbitMQ nodes can reload TLS certificates without a node restart. To rotate the TLS certificate, update the TLS Secret object with the new certificate directly and this change will be picked up by the RabbitMQ pods within several minutes. If you need to speed up the process, you can force RabbitMQ to reload the certificate immediately by running:
kubectl exec -it INSTANCE-server-0 -- rabbitmqctl eval "ssl:clear_pem_cache()."
or directly from within the node pod:
rabbitmqctl eval "ssl:clear_pem_cache()."
Since each node has its own cache, if you decide to run this command, you should execute it on all cluster nodes.
-------------------------------
There is no special functionality for this in the Operator. This behaviour depends on:
1. Kubernetes secrets getting updated in the pod immediately (you can check if that happens in your case)
2. RabbitMQ reloading certificates when the files change
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ec64015f-b581-4f8c-9a1b-b6c5a9cbe6e0n%40googlegroups.com.