forked from espressif/esp-idf
docs: Add section for server verification (esp_https_ota)
- Updated OTA example README
This commit is contained in:
@@ -32,6 +32,14 @@ Application Example
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
|
||||
Server Verification
|
||||
-------------------
|
||||
|
||||
Please refer to :ref:`ESP-TLS: TLS Server Verification <esp_tls_server_verification>` for more information on server verification. The root certificate (in PEM format) needs to be provided to the :cpp:member:`esp_http_client_config_t::cert_pem` member.
|
||||
|
||||
.. note:: The server-endpoint **root** certificate should be used for verification instead of any intermediate ones from the certificate chain. The reason being that the root certificate has the maximum validity and usually remains the same for a long period of time. Users can also use the ``ESP x509 Certificate Bundle`` feature for verification, which covers most of the trusted root certificates (using the :cpp:member:`esp_http_client_config_t::crt_bundle_attach` member).
|
||||
|
||||
Partial Image Download over HTTPS
|
||||
---------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user