khoih-prog / ESP_WiFiManager

This is an ESP32 / ESP8266 WiFi Connection Manager with fallback web configuration portal. Use this library for configuring ESP32 (including ESP32-S2 and ESP32-C3), ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson
MIT License
371 stars 97 forks source link

Webserver using SSL #54

Closed SquallHalle closed 3 years ago

SquallHalle commented 3 years ago

Hey there! Nice Project and stunning fast captive portal. Do you see any chance to add ssl to the webserver (like this one https://techtutorialsx.com/2019/04/07/esp32-https-web-server/) Greetings

khoih-prog commented 3 years ago

HI @SquallHalle

Thanks for using the library and your nice words. I don't have any plan and even against to update the library to use SSL WebServer because

  1. This Config Portal (CP) is short lived and doesn't need drastic security measures.
  2. Using SSL will dramatically and unnecessary increase code size and executing time
  3. SSL using self-signed Certificate will make CP connection more difficult because some browsers will give warnings and complex steps before let users to access.
  4. SSL, using official SSL Certificates will be very complicated, expensive, especially for normal users.

If you need that SSL feature for some reasons, you just fork, modify and use.

Regards,