This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF9160: Azure IoT Hub on Thingy91 MQTT Connect Error

I am trying to run nRF9160: Azure IoT Hub — nRF Connect SDK 1.6.99 documentation (nordicsemi.com) on thingy91. I have followed  Azure IoT Hub — nRF Connect SDK 1.6.99 documentation (nordicsemi.com) and generated certicated and updated it to the modem.Also the rootCA in IoT Hub.It finds the ip address of the IoT hub and mqtt connection is not established..I have also updated the device id and IoT hub details in prj.conf..I have also went through the Sample nRF9160: Azure IoT Hub - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com). Error -111 means connection refused. What Could be the possible solution for this problem  ?

There is also a folder "certs" in the example.Do I need to provide certificates here also ?  While updating  the certificate to modem, do I need to copy  "-----BEGIN CERTIFICATE-----" and  "-----END CERTIFICATE-----"  or just the certificate in between those two ?

Related