Page 1 of 1

OTA WITH HTTPS + MUTUAL AUTHENTICATION

Posted: Fri Jan 18, 2019 7:31 am
by k.ifantidis
Hello there.
I would like to know if there is a way to achieve OTA update via SSL + Mutual authentication.
The esp_https_ota command doesn't include mutual authentication configurations.
Here is a link of a commit that upgrades the esp_http_client: esp-idf pull 2688
I haven't tested it out yet but I would like to post it here in order if anyone gets helped or have tried it out.

I've see that the latest esp-idf version includes a mutual authentication tls socket. But my problem is that I don't know how to use GET request and how/where to save the newfirmwareOTA.bin file from the server and then use OTA lib commands.

Regards, kostas