How to debug WolfSSL connection with Azure Event Grid

Olaf Leidinger 0 Reputation points
2025-02-12T14:06:58.22+00:00

Dear all,

I'm having trouble to connect to Azure Event Grid using PahoMQTT/WolfSSL.

From what I can tell using WireShark, the connection fails during the TLS negotiation.
The same device, however, can connect without any problems to public MQTT brokers like test.mosquitto.orgusing client certificates.

The setup of the Event Grid appears to be okay as well, since I can connect using different clients and OpenSSL

openssl s_client -connect nameishidden.germanywestcentral-1.ts.eventgrid.azure.net:8883 -cert client.crt -key client.key

According to WireShark, the TLS connection fails during set-up. The device sends its HELO, but never receives any answer:

User's image

From what I can tell, the supported cipher suites appear to be okay:

User's image

User's image

I'd love to get my hands on server side TLS debug logs, but I don't see how this would be possible.

Is there any way to debug this further?

Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
424 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.