To connect your IoT device to HiveMQ Cloud broker, you need:
HiveMQ Cloud account and a cluster
The device supporting TLS connections
The device supporting TLS-SNI extension
The device using correct hostname, port and access credentials
The device has the CA certificate: https://letsencrypt.org/certs/isrgrootx1.pem.
How to check if the device supports TLS?
Please refer to the manufacturer documentation for the device.
How to check if the device supports TLS-SNI?
Please refer to the manufacturer documentation for the device.
Alternatively, use a network analysis tool, capture network communication on the MQTT port between the device and the broker, analyse the TLS handshake and find the “Client Hello” packet. If the packet contains the server’s hostname, it indicates that SNI is supported:
How to check if hostname, port and access credentials are correct?
Use a different MQTT client, we suggest MQTT-CLI, and try connecting it using the hostname, port and access credentials.