I created an Azure IOT Hub and simulated a X.509 device using C and device SDK for Azure.
No problems here.
Then I run sample nRF9160: Azure Iot Hub and receive the following error
Now I look for some guidance to troubleshot the mqtt_connect error.
First:
Can Nordic please clarify the certificate requirements mentioned on page Azure IoT Hub — nRF Connect SDK 1.3.99 documentation in more detail.
Does Baltimore CyperTrust Root certificate equate to file RootCA.pem?
Does Device certificate equate to file mydevice-public.pem?
Does Private key equate to file mydevice-private.pem?
Files under the ..\azure-iot-sdk-c\tools\CACertificates directory listed here:
Second:
How does one best investigates mqtt_connect errors ?