Hi,
I’m trying to get my ESP32 to connect with Azure via IoT Hub. The problem I am having is that after using the command:
mos azure-iot-setup --azure-hub-name myiothub
Mongoose is successful in creating a device on my IoT hub with a "self-Signed x509 cert. However the MOS terminal is then reporting:
x509_verify_cert returned -9984
and
“mongoose.c:4906 0x3ffda3f0 The certificate is not correctly signed by the trusted CA”
I see in the old MongooseOS YouTube videos the tool just created a working “self-signed certificate” not a “self-signed x509” cert. I am using the Azure US west 2 region which should have this IoT cert provisioning feature enabled.
Anyway my problem is I can’t transmit IoT data payloads to Azure due to this issue, as nothing is showing up when I monitor my device for incoming payloads and the device is reporting as offline. I am hoping I do not have to manually verify the certificate and the tool can accomplish this via automatic provisioning as it worked before in the videos and in the tutorial.
Thanks for any help