How to disabled sll verify with esp_http_client?
Posted: 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.
So is there another way to disabled sll verify?
And i found the parameter path in `esp_http_client_handle_t`, but the way is unable to achieve, for the private definition.
- 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);