Hello,
Does the ESP32 currently support WiFi HTTPS communication with root certificate?
Does is support domain name verification?
Thanks,
Nir
ESP32 support for HTTPS with root certificate
Re: ESP32 support for HTTPS with root certificate
Hi Nir,
Yes! There is an example in esp-idf that does this:
https://github.com/espressif/esp-idf/tr ... ps_request
Including verifying the server cert & name match.
Note that we can't load a full set of CA root certrificates into the ESP32 due to size constraints, so you have to load the root cert(s) for the CA(s) you are using, only. The example does this.
We know that manually performing an HTTPS get via a raw socket is still pretty lo-fi. We hope to add an HTTP client library in the near future.
Angus
Yes! There is an example in esp-idf that does this:
https://github.com/espressif/esp-idf/tr ... ps_request
Including verifying the server cert & name match.
Note that we can't load a full set of CA root certrificates into the ESP32 due to size constraints, so you have to load the root cert(s) for the CA(s) you are using, only. The example does this.
We know that manually performing an HTTPS get via a raw socket is still pretty lo-fi. We hope to add an HTTP client library in the near future.
Angus
Who is online
Users browsing this forum: Bing [Bot], BivvyCoder, Google [Bot] and 83 guests