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.
  1. esp_http_client_handle_t client   = esp_http_client_init(&config);
  2.     esp_transport_handle_t   tranport = client->transport;
  3.     auto                     ssl      = (transport_esp_tls_t*)tranport->data;
  4.     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], cpehonk and 252 guests