I am trying to run the https://github.com/espressif/esp-idf/tr ... _https_ota sample code to test the OTA over HTTPS, instead of web server I am using S3 bucket.
When i configure like below,
Code: Select all
esp_http_client_config_t config = {
.url = S3_BUCKET_ADDR, // AWS s3 address of the image binary .bin application
.client_cert_pem = ca_cert, // client certificate pem file
.client_key_pem = rsa_key, // client key pem file
.timeout_ms = CONFIG_EXAMPLE_OTA_RECV_TIMEOUT,
.keep_alive_enable = true,
};
Code: Select all
W (6711) esp_https_ota: Continuing with insecure option because CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP is set.
I (6711) advanced_https_ota_example: OTA started
E (6941) esp-tls-mbedtls: No server verification option set in esp_tls_cfg_t structure. Check esp_tls API reference
E (6941) esp-tls-mbedtls: Failed to set client configurations, returned [0x8017] (ESP_ERR_MBEDTLS_SSL_SETUP_FAILED)
Please enlight with any experience you have,
Thankyou,
Sri