From c4c323666ec74b3b2b49217265884458fed8959e Mon Sep 17 00:00:00 2001 From: Laukik Hase Date: Fri, 26 Nov 2021 10:44:48 +0530 Subject: [PATCH] docs: Fix spell and grammatical errors - PCNT - ESP-TLS - ESP WebSocket Client * Original commit: espressif/esp-idf@1df7f340bec9bdd0986218ddc58acf6ffa61fd86 --- docs/en/api-reference/protocols/esp_websocket_client.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api-reference/protocols/esp_websocket_client.rst b/docs/en/api-reference/protocols/esp_websocket_client.rst index f54a9ab02..664b8f0b0 100644 --- a/docs/en/api-reference/protocols/esp_websocket_client.rst +++ b/docs/en/api-reference/protocols/esp_websocket_client.rst @@ -63,7 +63,7 @@ Configuration: .cert_pem = (const char *)websocket_org_pem_start, }; -.. note:: If you want to verify the server, then you need to provide a certificate in PEM format, and provide to ``cert_pem`` in :cpp:type:`websocket_client_config_t`. If no certficate is provided then the TLS connection will to default not requiring verification. +.. note:: If you want to verify the server, then you need to provide a certificate in PEM format, and provide to ``cert_pem`` in :cpp:type:`websocket_client_config_t`. If no certficate is provided then the TLS connection will default to not requiring verification. PEM certificate for this example could be extracted from an openssl `s_client` command connecting to websocket.org. In case a host operating system has `openssl` and `sed` packages installed, one could execute the following command to download and save the root or intermediate root certificate to a file (Note for Windows users: Both Linux like environment or Windows native packages may be used).