mqtt connection problem with Azure
Posted: Wed Jan 22, 2025 1:20 pm
Hi,
I want to connect to Azure IoTHub using the mqtt5 example from ESP_IDF. I tested it with a python script and I was able to send data to it. However, on the esp32s3 I get the following error:
After searching the web, I found that the problem is with the server authentication. Basically, I would need a CA certificate to verify that I am connecting to the correct server. One way to disable this is to add the following flags to sdkconfig.ci, viewtopic.php?t=19198:
However, after doing this I still get the problem. What am I doing wrong?
Are my assumptions correct?
SDK: ES-IDF esp32s3, Windows
Thanks for the help!!!
I want to connect to Azure IoTHub using the mqtt5 example from ESP_IDF. I tested it with a python script and I was able to send data to it. However, on the esp32s3 I get the following error:
After searching the web, I found that the problem is with the server authentication. Basically, I would need a CA certificate to verify that I am connecting to the correct server. One way to disable this is to add the following flags to sdkconfig.ci, viewtopic.php?t=19198:
However, after doing this I still get the problem. What am I doing wrong?
Are my assumptions correct?
SDK: ES-IDF esp32s3, Windows
Thanks for the help!!!