OTA WITH HTTPS + MUTUAL AUTHENTICATION

k.ifantidis
Posts: 33
Joined: Wed Mar 28, 2018 6:58 am

OTA WITH HTTPS + MUTUAL AUTHENTICATION

Postby k.ifantidis » Fri Jan 18, 2019 7:31 am

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

Who is online

Users browsing this forum: Bing [Bot], Eltrion and 174 guests