ESP32 Self-sign certificate acceptance

minhlee@1234
Posts: 1
Joined: Thu Oct 23, 2025 12:42 pm

ESP32 Self-sign certificate acceptance

Postby minhlee@1234 » Thu Oct 23, 2025 1:17 pm

Hi everyone,
Currently I'm trying to make ESP32 to accept my self-sign cert without setting insecure connection. My environment is PlatformIO with ESP-IDF framework, so I have access to the library mbedtls. I use the function mbedtls_x509_crt_verify, and currently I see that it relies on the list of trust ca to verify. I want to add my own ca in the trusted list. How can I do that?

Who is online

Users browsing this forum: Google [Bot] and 8 guests