Replies: 5 comments 3 replies
-
|
What is your use case for having SSL on a web server on a MCU ? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Currently developing a Doorbell. Rings via an integrated (I2S) speaker. Can be connected to a SIP-Server to ring by phone additionally. Also capable to open the door during the call. Due there are passwords (WLAN, SIP-Server) transferred an https-connection would be a good idea. I am testing myself, others to come later. Connected via WiFi. If supported i will be using a self signed cert at the test phase. Will be changeable later via Web Interface (maybe generated by a CA). Any infos missing ? |
Beta Was this translation helpful? Give feedback.
-
|
I agree with your reasoning. But if it don't get implemented can you be sure ? As seen there are some other https projects like esp32_https_server i named in the intro or a beginning project like QuarkX. Maybe some implementation details can be taken from there. The question also is why https seems to be supported for the (less powerful) ESP8266 and not for the ESP32. Currently my app occupies about 1.3 MB code, 14% of the memory and nearly nothing of the LittleFS space. JWT tokens are new to me. I will have look how they can help me out. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the hint. I will have a look to PsychicHttp also and come back with my impressions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that https-support currently only works with an ESP8266.
What about extending the support for ESP32 ?
The other lib i found esp32_https_server is not as feature rich as this one.
After reading the source it seems that AsyncTCP is missing SSL support.
Reading AsyncTCP_SSL doc it could be a SSL-enabled version of AsyncTCP.
In the code there is a method
beginSecurehaving the same signature.Drawback: Does not compile with mbedtls from ESP32(-C6) board package (here: v. 3.3.8):
AsyncTCP_SSL/src/tcp_mbedtls.h:35:10: fatal error: mbedtls/net.h: No such file or directorySo it require more patching. Anyone willing to go into this direction.
Beta Was this translation helpful? Give feedback.
All reactions