Page 1 of 1

https ota update with client certification and two way ssl auth

Posted: Fri Sep 13, 2019 10:05 am
by fodgeri
Hi,

I've an nginx webserver with two way ssl authentication enabled for ota updates. So there is a root (ca) certificate + intermediate certificate and from the intermediate I've created a server cert for the nginx webserver and a client cert for the esp32 device. If I test the connection to the server with regular webbrowser (I installed the client cert to it) it works, but not on the esp32.

I used the advanced_https_ota example for this.

Is it possbile to manage the ota updates with two way ssl authentication enabled on the server and the esp authenticates with client cert? If so how?

Thank you for your help,
Gary