mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
esp_http_client: Add support to disable validation of certificate's CN field
This commit is contained in:
@@ -120,6 +120,7 @@ typedef struct {
|
||||
void *user_data; /*!< HTTP user_data context */
|
||||
bool is_async; /*!< Set asynchronous mode, only supported with HTTPS for now */
|
||||
bool use_global_ca_store; /*!< Use a global ca_store for all the connections in which this bool is set. */
|
||||
bool skip_cert_common_name_check; /*!< Skip any validation of server certificate CN field */
|
||||
} esp_http_client_config_t;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user