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

Sample Azure IoT Hub (Thingy9.1)

Hello,

I have the same problem as this topic: https://devzone.nordicsemi.com/f/nordic-q-a/77267/nrf9160-azure-iot-hub-on-thingy91-mqtt-connect-error

I'm using nrf Connect v3.7.1, LTE link monitor v1.1.10. I made the last firmware update 2021-10-20. Sample in the ncs v1.7.1.

Maybe I forgot a step?

Here are the steps I did:

- prj.conf : add the CONFIG_AZURE_IOT_HUB_DEVICE_ID & CONFIG_AZURE_IOT_HUB_HOSTNAME & CONFIG_AZURE_IOT_HUB_DPS=y & CONFIG_AZURE_IOT_HUB_DPS_ID_SCOPE

- certificates.h: change name file and add the ca cert, client key and cert. I add it also with LTE link monitor to be sure.

If you have any useful tips or information, thank you in advance for your help!

Voici mes logs et traces :

trace-2021-11-16T15-37-04.024Z.bin

Parents Reply
  • Hi Acti,

    Your client need to trust the Azure IoT Hub to connect to it.
    To check this trust, the device needs the Baltimore CyberTrust Root certificate.
    So the CA certificate that you provision to the device is not the CA you generated, but the Baltimore CyberTrust Root certificate.

    Regards,
    Sigurd Hellesvik

Children
Related