To connect your IoT device to HiveMQ Cloud, ensure you have the following:
...
Capture the network communication on the MQTT port between your device and the broker (on 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!
...