Would it be possible to reload a TLS certificate in RabbitMQ without it affecting existing connections?
--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I doubt it but I recall there was a way to force connection renegotiation for eachconnection individually using `ssl:setopts/2`. No one has reported any results from that trick,successful or otherwise.
On Mon, Jun 11, 2018 at 11:00 PM, Carl Hörberg <ca...@cloudamqp.com> wrote:
Would it be possible to reload a TLS certificate in RabbitMQ without it affecting existing connections?
--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--MKStaff Software Engineer, Pivotal/RabbitMQ
You received this message because you are subscribed to a topic in the Google Groups "rabbitmq-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rabbitmq-users/AdkDZhmYtAA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rabbitmq-user...@googlegroups.com.
I realise this thread is a couple of years old, but I wanted to report back my findings for future readers:
Turns out newer versions of Erlang auto-update their PEM cache, so all you need to do is put the new certificate in place and then wait for a few minutes. (Tested with RabbitMQ 3.7.22 Erlang 22.1.8)
If you need to force the use of the new certificate sooner, you can use
rabbitmqctl eval 'ssl:clear_pem_cache().'And this will reload the certificate without disconnecting any publishers or consumers.