The following example project is complete:
Clone it (be sure to include submodules), and run it via this command:
docker compose up --build
You will see a CRL HTTP request in the output, like this:
rabbitmq-users-crl-6ljceo9cn98-crl-1 | 172.19.0.3 - - [26/Nov/2022 03:41:30] "GET /basic.crl HTTP/1.1" 200 -
Both the Python producer and consumer applications authenticate using client certificates. If you add the client cert to the CRL, the connection will be rejected. I will add a script that shows how to do that. Note that CRLs are only checked when connections are established, so I the apps will have to be restarted as well (that will be part of the script).
Between that project and rabbitmq/tls-gen, everything you need to generate certs correctly and configure your apps and RabbitMQ correctly to use client certificate authentication and CRLs is there.
Thanks,
Luke