esp32_https_server icon indicating copy to clipboard operation
esp32_https_server copied to clipboard

Remove deprecated openssl/ssl.h

Open petoknm opened this issue 3 years ago • 3 comments

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"

petoknm avatar Feb 06 '22 11:02 petoknm

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.

georeb avatar Apr 28 '24 00:04 georeb

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

al-TideLight avatar Jul 04 '24 12:07 al-TideLight

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

petoknm avatar Jul 05 '24 08:07 petoknm