To connect your IoT device to HiveMQ Cloud, ensure you have the following:
...
How to Verify Device Compatibility:
Does your IoT device support TLS?
Check the manufacturer’s IoT device manufacturer's documentation for TLS support.Does your IoT device support TLS-SNI?
Refer to the manufacturer’s IoT device manufacturer's documentation to verify TLS-SNI compatibility.
...
Capture the network communication on the MQTT port between your device and the broker (in the picture above, it is port 8883).
Analyze the
TLS
handshake (in the picture above, look forTLSv1.2
in the Protocol column; (in the picture above, theCLient Hello
is highlighted with an amber rectangle)).Look for the "
Client Hello
" packet. If it contains the server’s hostname, “Extension: server_name
“, it means that the TLS-SNI is supported (in the picture above, theCLient Hello
packet and theExtension: server_name
are highlighted with amber rectangles).
For Devices Without Wi-Fi or Ethernet:
If your device isn’t locally connected to Wi-Fi or Ethernet, you can simulate a TLS server locally and expose it globallyto Internet. Follow this guide. to detect if your IoT device supports TLS-SNI!
Verifying Hostname, Port, and Access Credentials:
...