hi, i was referring to advanced ota example. im getting below error:
I (5624) advanced_https_ota_example: Starting Advanced OTA example
E (5904) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
I (5904) esp-tls-mbedtls: Failed to verify peer certificate!
I (5914) esp-tls-mbedtls: verification info: ! The certificate is not correctly signed by the trusted CA
E (5924) esp-tls: Failed to open new connection
E (5924) TRANS_SSL: Failed to open a new connection
E (5934) HTTP_CLIENT: Connection failed, sock < 0
E (5934) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (5944) esp_https_ota: Failed to establish HTTP connection
E (5954) advanced_https_ota_example: ESP HTTPS OTA Begin failed
W (6544) wifi:<ba-del>idx
W (9604) wifi:<ba-add>idx:0 (ifx:0, e8:48:b8:61:bb:81), tid:0, ssn:21, winSize:64
W (10564) wifi:<ba-del>idx
W (13594) wifi:<ba-add>idx:0 (ifx:0, e8:48:b8:61:bb:81), tid:0, ssn:22, winSize:64
W (14594) wifi:<ba-del>idx
please suggest how to resolve. what to steps to generate certificate and where to include in project.
esp32 ota example error
-
- Posts: 190
- Joined: Wed Jan 24, 2018 6:51 am
Re: esp32 ota example error
Please check documentation at https://github.com/espressif/esp-idf/bl ... /README.md
Some of the similar issues that you may find useful in this context:
https://github.com/espressif/esp-idf/issues/6833
https://github.com/espressif/esp-idf/issues/4657
Some of the similar issues that you may find useful in this context:
https://github.com/espressif/esp-idf/issues/6833
https://github.com/espressif/esp-idf/issues/4657
Mahavir
https://github.com/mahavirj/
https://github.com/mahavirj/
Re: esp32 ota example error
hi.. thanks for info... i was using aws s3 to upload binary.. please can i know how to generate certificates
-
- Posts: 190
- Joined: Wed Jan 24, 2018 6:51 am
Re: esp32 ota example error
https://github.com/espressif/esp-idf/is ... -460917118i was using aws s3 to upload binary.. please can i know how to generate certificates
Mahavir
https://github.com/mahavirj/
https://github.com/mahavirj/
Re: esp32 ota example error
thanks for quick response ... but with command
openssl s_client -showcerts -connect s3.amazonaws.com:443 < /dev/null
i get : "The system cannot find the path specified." error.
please guide how to resolve
openssl s_client -showcerts -connect s3.amazonaws.com:443 < /dev/null
i get : "The system cannot find the path specified." error.
please guide how to resolve
-
- Posts: 8
- Joined: Mon Oct 07, 2019 6:09 am
Re: esp32 ota example error
Hi, I am attaching certificate required for connecting to S3 server. Please try using the same.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 248 guests