Sorry my lack of rabbitMQ lingo, but I am fairly new to RabbitMQ community. For the past month, I have been using RabbitMQ Server v3.7.14 on Erlang/OTP 21 running on Windows Server 2016.
Since yesterday I have been trying to set up the TLS support, I got my certificates from DigiCert (I skipped doing the self-signing ones) but other than that I filled the TLS Support guide to the letter.
The issue is that when I try to connect with a client to the server, the connection failed to create. From Wireshark capture I can tell that TCP accepts the connection, the client says hello and the server responds to Client Hello TLSv1.2 with RST ACK. (figure1) So I went to the TLS Troubleshooting guide:
- When using the .bat tool from RabbitMQ status or diagnostics listeners the ports show as listening.
- netsta -ab shows that erl.exe is listening on 5671 and 5672; however netstat -ano shows that the correct pid listens on the ports (5672 and 5671.
- I tested the certs using the openssl tool for windows (v1.1.1). On the WinServer 2016 I did: openssl s_server <domainInCN>:8433 -verify 8 -prexit -debug and connected from the other machine using the client call, and the connection is established, I verified that Wireshark recorded the traffic and that the handshake completed using tlsv1.2. (figure2) using the cert documents that were in my config file for rabbitMQ.
- Then I tested to connect from openssl s_client to port 5671. But again the handshake fails after Client Hello.
- telnet <domainInCN> 5672 does work and Wireshark sees the message sent as AMQP protocol (as it should)
I have seen other people have this issue, but what prompted me to post a new question is that there is no record on the log file that there was a connection attempt. (NOTHING!) I reset the server, again nothing.
I moved the certs from their original location c:/certs/ to %RABBIT_HOME%/etc/certs/ thinking that maybe rabbitMQ could not access the c root folders; but again same result as above.
Any recommendations on how to troubleshoot that is NOT the TLS troubleshoot guide would be super helpful!
Best,
Nicolas