https ota update with client certification and two way ssl auth

fodgeri
Posts: 11
Joined: Mon Apr 08, 2019 1:36 pm

https ota update with client certification and two way ssl auth

Postby fodgeri » Fri Sep 13, 2019 10:05 am

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

Who is online

Users browsing this forum: Majestic-12 [Bot] and 354 guests