Skip to content

Use root CAs to verify SSL certificates  #352

@suyashkumar

Description

@suyashkumar

Hi there, I noticed that the core implementation of beginSSL requires a fingerprint of the SSL certificate for verification. Since SSL certs can change often (every 90 days for the popular LetsEncrypt certs) I was wondering if it would make sense to validate CAs using the Arduino WiFiClientSecure example which uses root CA certs to validate certificates (instead of child client certificate fingerprints, which is what this library uses right)?

Either common root certificates could be stored in the library, or clients could dependency-inject one all the way through to this library (as is done for the fingerprint in repos like https://github.com/timum-viw/socket.io-client ).

Has there been any thinking around this approach?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions