I have an ESP32 connected via https.
For this, I use the WifiClientSecure library.
It’s all working fine, but my webhosting provider changes every 3 months its root certificate.
So, the const char* test_root_ca= etc. (at line 20) must be updated every 3 months.
Does someone has an idea how to handle this, some kind of automated process?
The problem is, when the certificate has changed, I cannot longer remotely connect to the ESP32 (to update the certificate).