WolfSSL/WolfMQTT with HiveMQ Cloud?

Has anyone had luck connecting a WolfMQTT client using WolfSSL to HiveMQ Cloud? I am able to configure MQTT.fx to connect to my free cloud instance without issue. I’m eventually getting a FIN from the cloud and can’t figure out why. Is there any way to access logs or anything to see what’s going on?

Wolf was able to help out here, my client wasn’t sending SNI for TLS which is required by the broker. I originally was using a MQTT 3.1.1 client, but when we tested it with an MQTT 5.0 client, we got the reason that SNI was required. This makes sense as AWS IoT MQTT has similar requirements for their clients.

1 Like