khoih-prog / WebSockets2_Generic

A WebSocket Server and Client library for Arduino, based on RFC6455, for writing modern Websockets applications. Now support ESP8266, ESP32 (including ESP32-S2 Saola, AI-Thinker ESP-12K, WT32_ETH01, etc.), nRF52, SAMD21, SAMD51, SAM DUE, STM32F/L/H/G/WB/MP1, Teensy, RP2040-based, etc. boards, with WiFiNINA, Teensy 4.1 NativeEthernet/QNEthernet, Ethernet W5x00 / ENC28J60 / LAN8742A / LAN8720, ESP8266 / ESP32-AT modules/shields, as well as SINRIC / Alexa / Google Home
GNU General Public License v3.0
81 stars 30 forks source link

WebSocket doesn't connect without a CA certificate. #17

Closed anand-010 closed 3 years ago

anand-010 commented 3 years ago

I am using NodeMcu 32s with WebSockets2_Generic v1.1.0 As per the documentation CA cert is not necessary. 3 But I can't find a way to connect without a CA cert. In my previous library for Esp 8266 it works without a CA cert. but it not provide this feature for Esp32.

I need a persistent connection without worry about CA cert validity.

khoih-prog commented 3 years ago

ESP32 is different from ESP8266. I only provide standard support to using SSL Cert. You have to go to other library so.