fhessel / esp32_https_server

Alternative ESP32 Webserver implementation for the ESP32 Arduino Core, supporting HTTPS and HTTP.
MIT License
331 stars 119 forks source link

Remove deprecated openssl/ssl.h #148

Open petoknm opened 2 years ago

petoknm commented 2 years ago

I'm getting a warning about deprecated openssl component, so I guess it would be nice to use what Espressif recommends now, which is esp_tls.h. I tried switching the headers and they provide different API so it doesn't compile right off the bat. I wouldn't mind making a PR but I don't have much experience with crypto/TLS so I would need some guidance on the semantic differences between the two APIs.

#warning "OpenSSL component will be removed from ESP-IDF in v5.0, please use esp_tls instead"
georeb commented 2 months ago

ESP-IDF v5.0 was released on Dec 2 2022 and this library has still not been updated from OpenSSL. The issue @petoknm points out still exists and I agree that we should be using what Espressif recommends. There is almost no alternative to this library for a secure HTTP server. Any update please @fhessel? Any support or timeframes would be really appreciated, thanks.

al-TideLight commented 2 weeks ago

I am also having this issue, has anyone found a work around?

petoknm commented 1 week ago

@al-TideLight Try out using this MR: https://github.com/fhessel/esp32_https_server/pull/169