Skip to content

WifiClientSecure - Enhancement - add load methods. #1957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
KevinHunter12 opened this issue Oct 12, 2018 · 0 comments · Fixed by #1959
Closed

WifiClientSecure - Enhancement - add load methods. #1957

KevinHunter12 opened this issue Oct 12, 2018 · 0 comments · Fixed by #1959

Comments

@KevinHunter12
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant