Thanks, it's exactly what I needed, tested and it is working as expected.ESP_YJM wrote: Yes, you can set skip_cert_common_name_check(https://github.com/espressif/esp-mqtt/b ... ent.h#L260) to true to skip check server hostname in CA.
Search found 2 matches
- Fri Feb 03, 2023 12:59 pm
- Forum: ESP-IDF
- Topic: MQTTs - disable hostname verification
- Replies: 3
- Views: 2758
Re: MQTTs - disable hostname verification
- Fri Jan 20, 2023 7:40 am
- Forum: ESP-IDF
- Topic: MQTTs - disable hostname verification
- Replies: 3
- Views: 2758
MQTTs - disable hostname verification
I'm currently working on MQTTs using ESP-IDF on eclipse with the ESP-IDF plugin. My goal is to adapt an existing c++ library made for POSIX to ESP32. The library currently uses PAHO and I want to replace it with the native esp32 MQTT library. And I'm currently trying the MQTTs example called ssl_mut...