Page 1 of 1

ESP32 support for HTTPS with root certificate

Posted: Tue Nov 01, 2016 4:04 pm
by nir.k.dev
Hello,
Does the ESP32 currently support WiFi HTTPS communication with root certificate?
Does is support domain name verification?

Thanks,
Nir

Re: ESP32 support for HTTPS with root certificate

Posted: Tue Nov 01, 2016 10:22 pm
by ESP_Angus
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