Page 1 of 1

esp32 native ota- tls certificate verification

Posted: Fri May 22, 2020 8:19 am
by Swagger
Hi, I was working native OTA update. I had followed the instructions in the esp32 tutorials to generate the certificates.
Link: ... tps-server

First, I tried to develop a certificate on my wamp server. I was able to download the bin file in when I enter the URL in the browser.

but when i tried from esp32 native ota code, I ended up in the following error.

E (8982) esp-tls: mbedtls_ssl_handshake returned -0x7200
I (8982) esp-tls: Certificate verified.
E (8982) esp-tls: Failed to open new connection
E (8982) TRANS_SSL: Failed to open a new connection
E (8992) HTTP_CLIENT: Connection failed, sock < 0
E (9002) native_ota_example: Failed to open HTTP connection: ESP_ERR_HTTP_CONNEC
E (9002) native_ota_example: Exiting task due to fatal error...

it says certificate got verified but still not able to open a new connection.