Hello,
I try to run the MQTT SSL example in the esp idf environment. The probleme is that I don't know how to embed the mosquitto server certificate in the SSL example project. This is not detailled in the description of the example.
Do I need to use idf.py menuconfig ? Should I modify the sdkconfig file ? Which field to update ?
I need your help.
Thanks a lot
Bert
How to embed the certificate in MQTT SSL ESP IDF Example
-
- Posts: 1706
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: How to embed the certificate in MQTT SSL ESP IDF Example
If you have the certificate in a .pem file, you can either
a) copy that file to main/mqtt_eclipseprojects_io.pem, or
b) change the location of the certificate to embed in the CMakeLists.txt to your .pem file.
a) copy that file to main/mqtt_eclipseprojects_io.pem, or
b) change the location of the certificate to embed in the CMakeLists.txt to your .pem file.
Who is online
Users browsing this forum: No registered users and 75 guests