Home
last modified time | relevance | path

Searched refs:cacert (Results 1 – 14 of 14) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/esp_local_ctrl/
DREADME.md11 …te key and certificate can also be found under `main/certs`, namely `prvtkey.pem` and `cacert.pem`.
95 …server's certificate signing request, and generate a signed certificate `cacert.pem`. The password…
98 openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootkey.pem -CAcreateserial -out cacert.pem …
101 …we have `rootCA.pem`, `cacert.pem` and `prvtkey.pem`, copy these into main/certs. Note that only t…
/hal_espressif-3.6.0/examples/protocols/https_mbedtls/main/
Dhttps_mbedtls_example_main.c74 mbedtls_x509_crt cacert; in https_get_task() local
79 mbedtls_x509_crt_init(&cacert); in https_get_task()
129 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in https_get_task()
/hal_espressif-3.6.0/examples/protocols/smtp_client/main/
Dsmtp_client_example_main.c262 mbedtls_x509_crt cacert; in smtp_client_task() local
267 mbedtls_x509_crt_init(&cacert); in smtp_client_task()
282 ret = mbedtls_x509_crt_parse(&cacert, server_root_cert_pem_start, in smtp_client_task()
309 mbedtls_ssl_conf_ca_chain(&conf, &cacert, NULL); in smtp_client_task()
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Dtls_mbedtls.c56 mbedtls_x509_crt cacert; /*!< Container for X.509 CA certificate */ member
76 mbedtls_x509_crt_free(&tls->cacert); in tls_mbedtls_cleanup()
169 static int set_ca_cert(tls_context_t *tls, const unsigned char *cacert, size_t cacert_len) in set_ca_cert() argument
171 tls->cacert_ptr = &tls->cacert; in set_ca_cert()
173 int ret = mbedtls_x509_crt_parse(tls->cacert_ptr, cacert, cacert_len); in set_ca_cert()
/hal_espressif-3.6.0/examples/protocols/https_server/simple/main/
Dcomponent.mk6 COMPONENT_EMBED_TXTFILES := certs/cacert.pem
DCMakeLists.txt3 EMBED_TXTFILES "certs/cacert.pem"
/hal_espressif-3.6.0/examples/protocols/https_server/wss_server/main/
Dcomponent.mk6 COMPONENT_EMBED_TXTFILES := certs/cacert.pem
DCMakeLists.txt3 EMBED_TXTFILES "certs/cacert.pem"
/hal_espressif-3.6.0/examples/protocols/esp_local_ctrl/main/
Dcomponent.mk6 COMPONENT_EMBED_TXTFILES := certs/cacert.pem
DCMakeLists.txt3 EMBED_TXTFILES "certs/cacert.pem" "certs/prvtkey.pem")
/hal_espressif-3.6.0/components/esp-tls/
Desp_tls_mbedtls.c299 mbedtls_x509_crt_free(&tls->cacert); in esp_mbedtls_cleanup()
314 static esp_err_t set_ca_cert(esp_tls_t *tls, const unsigned char *cacert, size_t cacert_len) in set_ca_cert() argument
317 tls->cacert_ptr = &tls->cacert; in set_ca_cert()
319 int ret = mbedtls_x509_crt_parse(tls->cacert_ptr, cacert, cacert_len); in set_ca_cert()
Desp_tls.h309 …mbedtls_x509_crt cacert; /*!< Container for the… member
/hal_espressif-3.6.0/examples/protocols/https_server/simple/
DREADME.md40 openssl req -newkey rsa:2048 -nodes -keyout prvtkey.pem -x509 -days 3650 -out cacert.pem -subj "/CN…
/hal_espressif-3.6.0/examples/protocols/https_server/wss_server/
DREADME.md53 openssl req -newkey rsa:2048 -nodes -keyout prvtkey.pem -x509 -days 3650 -out cacert.pem -subj "/CN…