From a261827ae0ad6e33b3b8eef6dbbc9cb4f6c1b99f Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 20 Sep 2024 16:09:40 +0530 Subject: [PATCH 1/2] fix(esp-tls): Remove unused config option from esp-wolfssl --- components/esp-tls/Kconfig | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/esp-tls/Kconfig b/components/esp-tls/Kconfig index 297a357b6d..8ccd90f53f 100644 --- a/components/esp-tls/Kconfig +++ b/components/esp-tls/Kconfig @@ -100,15 +100,6 @@ menu "ESP-TLS" with a server which has a fake identity, provided that the server certificate is not provided either through API or other mechanism like ca_store etc. - config ESP_WOLFSSL_SMALL_CERT_VERIFY - bool "Enable SMALL_CERT_VERIFY" - depends on ESP_TLS_USING_WOLFSSL - default y - help - Enables server verification with Intermediate CA cert, does not authenticate full chain - of trust upto the root CA cert (After Enabling this option client only needs to have Intermediate - CA certificate of the server to authenticate server, root CA cert is not necessary). - config ESP_DEBUG_WOLFSSL bool "Enable debug logs for wolfSSL" depends on ESP_TLS_USING_WOLFSSL From 238615c634ea9f2bf9b188743800a008b0230ed1 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 20 Sep 2024 17:48:20 +0530 Subject: [PATCH 2/2] fix(examples): Update accurate information for HTTPS Server --- examples/protocols/https_server/simple/README.md | 6 +++--- examples/protocols/https_server/wss_server/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/protocols/https_server/simple/README.md b/examples/protocols/https_server/simple/README.md index be0867d943..02e4940605 100644 --- a/examples/protocols/https_server/simple/README.md +++ b/examples/protocols/https_server/simple/README.md @@ -1,11 +1,11 @@ | Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | | ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -# HTTP server with SSL support using OpenSSL +# HTTPS server -This example creates a SSL server that returns a simple HTML page when you visit its root URL. +This example creates an HTTPS server with SSL/TLS support using **ESP-TLS** that serves a simple HTML page when you visit its root URL. -See the `esp_https_server` component documentation for details. +For more information, refer to the [esp_https_server component documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_https_server.html). ## How to use example Before project configuration and build, be sure to set the correct chip target using `idf.py set-target `. diff --git a/examples/protocols/https_server/wss_server/README.md b/examples/protocols/https_server/wss_server/README.md index fcdea7729e..f2cc7cc961 100644 --- a/examples/protocols/https_server/wss_server/README.md +++ b/examples/protocols/https_server/wss_server/README.md @@ -1,13 +1,13 @@ | Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | | ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -# HTTP Websocket server with SSL support +# HTTPS Websocket server -This example creates a SSL server and employs a simple Websocket request handler. It demonstrates handling multiple clients from the server including: +This example creates an HTTPS server with SSL/TLS support using ESP-TLS and employs a simple Websocket request handler. It demonstrates handling multiple clients from the server including: * PING-PONG mechanism * Sending asynchronous messages to all clients -See the `esp_https_server` component documentation for details. +For more information, refer to the [esp_https_server component documentation](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_https_server.html). ### Websocket support in `http_server`