How to configure managment-3 docker image to enable SNI #13066
-
Community Support Policy
RabbitMQ version used4.0.4 Erlang version used26.2.x Operating system (distribution) usedRHEL 8 How is RabbitMQ deployed?Community Docker image rabbitmq-diagnostics status outputN/A Logs from node 1 (with sensitive values edited out)N/A Logs from node 2 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.confSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ clusterN/A Steps to reproduce the behavior in questionI tried adding ssl_options.server_name_indication = rabbitmq but that causes the image to not start advanced.configNot using one "yet". I see this is where to configure SNI, but I see multiple ways that are not consistent. Application code# PASTE CODE HERE, BETWEEN BACKTICKS Kubernetes deployment file# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?enable SNI, against CN and SAN values |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
What are you trying to accomplish with SNI? In general, it is client applications that connect to a RabbitMQ server over TLS that must enable SNI. |
Beta Was this translation helpful? Give feedback.
-
I have configured my client to send ClientHello with server_name.
My “understanding” is that full SNI also requires that the server must “enforce” to only accept connections where the client has sent server_name in the ClientHello.
|
Beta Was this translation helpful? Give feedback.
-
I will add to my previous response. The DISA RabbitMQ instance that I am a client of, refuses connections that do not have a Client Hello server_name extension included.
That instance is what I am attempting to match in my development emulations.
|
Beta Was this translation helpful? Give feedback.
-
I am good, just pretty confusing “how” DISA is enforcing this.
Close it again, all good.
|
Beta Was this translation helpful? Give feedback.
I don't believe that RabbitMQ / Erlang has the ability to reject TLS connections that lack the SNI extension, but I will double-check. Most likely, you are connecting to a load balancer in front of RabbitMQ that is configured to reject these sorts of client connections.