mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00

- esp_http_client support just PEM ca_cert and client_cert. - Although esp_tls supports both PEM and DER certificate. We have logic based on cert_len and client_cert_len which decides whether given cert or client_cert is in PEM or DER format. - If length is 0 then it is PEM certificate and if length is passed then DER is considered. This is true for both ca_cert and client_cert This commits allow to pass the DER certificate in esp_http_client