You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi All,
Apologies in advance if this is the wrong place to ask this question.
Im porting an application from a ESP8266 (Wemos D1 Mini) to the ESP32 (Lolin D32 Pro) and have problems with the new WiFiClientSecure library on the ESP32.
In the ESP8266 I have stored a root CA certificate a device certificate and a private key in SPIFFS which I then load into WiFiClientSecure using the loadCACert, loadCertificate and loadPrivateKey methods which accept a Stream as a parameter and load from SPIFFS no problem.
The new library doesnt have these methods and the setCACert only accepts const char* .
Can the library be enhanced to match the ESP8266 one as this will help support code written for the ESP8266 working on the ESP32 without changes being required and will make development easier for beginners like me ;)
Thank you
Kevin
The text was updated successfully, but these errors were encountered:
Hi All,
Apologies in advance if this is the wrong place to ask this question.
Im porting an application from a ESP8266 (Wemos D1 Mini) to the ESP32 (Lolin D32 Pro) and have problems with the new WiFiClientSecure library on the ESP32.
In the ESP8266 I have stored a root CA certificate a device certificate and a private key in SPIFFS which I then load into WiFiClientSecure using the loadCACert, loadCertificate and loadPrivateKey methods which accept a Stream as a parameter and load from SPIFFS no problem.
The new library doesnt have these methods and the setCACert only accepts const char* .
Can the library be enhanced to match the ESP8266 one as this will help support code written for the ESP8266 working on the ESP32 without changes being required and will make development easier for beginners like me ;)
Thank you
Kevin
The text was updated successfully, but these errors were encountered: