Page 1 of 1

ESP32 Secured Web Server over SSL(WSS)

Posted: Fri Feb 03, 2023 5:55 am
by meakash
I am looking for a secure WebSocket Server implementation over SSL for ESP32 using Arduino IDE, so far I haven't been able to find any implementation regarding the same. Please help to get me started with the same.

If there is any Library for the same or how can I use this library to implement the same, i'd be happy to hear any suggestions regarding the same.

Re: ESP32 Secured Web Server over SSL(WSS)

Posted: Wed Nov 15, 2023 6:09 pm
by daniel_aac
I have a similar problem, I want to implement an access point (AP) with a server that accepts websocket with encrypted connection (SSL) on an ESP32-S2 chip.

Then libraries used are:

- ESPAsyncWebServer
- ESPAsyncWebSocket
- ESPAsyncTCP
- SPIFFS

but compiling appears the next error class AsyncWebServer has no member named 'beginSecure'.

https://github.com/me-no-dev/ESPAsyncWe ... issues/899

but is for ESP8266,

I'm desperate, I can't find anything online, if anyone can help me I will be forever grateful.

Thanks

Re: ESP32 Secured Web Server over SSL(WSS)

Posted: Thu Nov 16, 2023 5:25 pm
by lbernstone
It is on the radar for arduino-esp32 to rewrite WebServer to use the underlying IDF libraries, but not high priority. You can try the esp32_https_server which can be found in the arduino library manager, or the IDF https_server is not terribly difficult to use.