Skip to content

WifiClientSecure - Enhancement - add load methods. #1957

Closed
@KevinHunter12

Description

@KevinHunter12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions