How to disabled sll verify with esp_http_client?

lanistor
Posts: 3
Joined: Sat Sep 16, 2023 7:37 am

How to disabled sll verify with esp_http_client?

Postby lanistor » Sat Mar 30, 2024 8:46 am

I need to disable sll verify in esp_http_client, for some special http requests.

And i found the parameter path in `esp_http_client_handle_t`, but the way is unable to achieve, for the private definition.

Code: Untitled.cpp Select all


esp_http_client_handle_t client   = esp_http_client_init(&config);
esp_transport_handle_t tranport = client->transport;
auto ssl = (transport_esp_tls_t*)tranport->data;
mbedtls_ssl_conf_authmode(ssl->tls->conf, MBEDTLS_SSL_VERIFY_NONE);
So is there another way to disabled sll verify?

Who is online

Users browsing this forum: Bing [Bot], Qwantbot and 4 guests