I am having some trouble running the simple_ota_example provided in the idf (https://github.com/espressif/esp-idf/tr ... system/ota
I seem to be running into issues with the SSL certificates, even when following the instructions provided. The initial debug output from the ESP32 is pasted below
Code: Select all
I (3293) event: sta ip: 192.168.1.218, mask: 255.255.255.0, gw: 192.168.1.1
I (3293) simple_ota_example: Connect to Wifi ! Start to Connect to Server....
E (3483) esp-tls: mbedtls_ssl_handshake returned -0x2700
I (3483) esp-tls: Failed to verify peer certificate!
I (3483) esp-tls: verification info: ! The certificate is signed with an unacceptable hash.
E (3503) TRANS_SSL: Failed to open a new connection
E (3503) HTTP_CLIENT: Connection failed
E (3503) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (3513) simple_ota_example: Firmware Upgrades Failed
Code: Select all
I (3293) event: sta ip: 192.168.1.218, mask: 255.255.255.0, gw: 192.168.1.1
I (3293) simple_ota_example: Connect to Wifi ! Start to Connect to Server....
E (3913) esp-tls: mbedtls_ssl_handshake returned -0x7b00
I (3913) esp-tls: Certificate verified.
E (3923) TRANS_SSL: Failed to open a new connection
E (3923) HTTP_CLIENT: Connection failed
E (3923) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (3933) simple_ota_example: Firmware Upgrades Failed
Has anyone ran into these problems when running the OTA example? With my limited knowledge of the https protocol I have been unable to make much progress.Processing of the ServerKeyExchange handshake message failed.