Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

TLS encryption #2

Closed
LaudixGit opened this issue Dec 3, 2022 · 3 comments
Closed

TLS encryption #2

LaudixGit opened this issue Dec 3, 2022 · 3 comments
Labels
help wanted Your help is appreciated

Comments

@LaudixGit
Copy link

Is your feature request related to a problem? Please describe.

Would like to use TLS encryption

Describe the solution you'd like

Would like Self Signed Certs to work in this library

Describe alternatives you've considered

I successfully use encryption in ESP32_HTTPS_Server but that library isn't 'native' async

Additional context

I attempted to use the existing BeginSecure within this library but there is a compile error
image
image

@LaudixGit
Copy link
Author

LaudixGit commented Dec 3, 2022

@khoih-prog Since you don't mention encryption in the feature list, and there aren't any examples, I suspect you already know the ASYNC_TCP_SSL_ENABLED is not complete yet.

I am just adding this request to show interest. I would rather the HTTPS_Server_Generic library include async than have this library updated. (e.g., it would become the AsyncHTTPS_Server_Generic library)

@khoih-prog
Copy link
Owner

The TLS/SSL is not ready for all AsyncWebServer libraries. And I don't have the plan to update in the near future.

Certainly, any PR to add the feature is appreciated.

@khoih-prog khoih-prog added the help wanted Your help is appreciated label Dec 3, 2022
@khoih-prog
Copy link
Owner

Hi @LaudixGit

I'll try to make the new HTTPS_Server_Generic library to support many more powerful-enough boards, such as ESP32, ESP8266, Teensy, RP2040, etc.

Try the newly-published HTTPS_Server_Generic library, especially the Async-Server example


Releases v1.2.0

  1. Initial coding to port esp32_https_server and ESP32_HTTPS_Server to ESP32 boards, WT32_ETH01, (ESP32 + LwIP W5500) and (ESP32 + LwIP ENC28J60) Ethernet
  2. Use allman astyle and restyle library.

TO DO

  1. Fix bug. Add enhancement
  2. For ESP32, using ESP_TLS for future ESP-IDF v5.0 instead of to-be-deprecated OpenSSL
  3. Using ArduinoJson v6 instead of v5.13.5-
  4. Add support to more powerful-enough boards using LwIP WiFi/Ethernet, such as :
  • ESP8266
  • Portenta_H7 WiFi / Ethernet
  • RP2040W WiFi
  • Teensy 4.1 QNEthernet
  • etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Your help is appreciated
Projects
None yet
Development

No branches or pull requests

2 participants