ESP32 Secured Web Server over SSL(WSS)

meakash
Posts: 6
Joined: Sat Dec 17, 2022 6:32 am

ESP32 Secured Web Server over SSL(WSS)

Postby meakash » Fri Feb 03, 2023 5:55 am

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.

daniel_aac
Posts: 1
Joined: Wed Nov 15, 2023 5:49 pm

Re: ESP32 Secured Web Server over SSL(WSS)

Postby daniel_aac » Wed Nov 15, 2023 6:09 pm

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

lbernstone
Posts: 637
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32 Secured Web Server over SSL(WSS)

Postby lbernstone » Thu Nov 16, 2023 5:25 pm

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.

Who is online

Users browsing this forum: lbernstone and 63 guests