Skip to content
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

Add support for CA bundles #884

Open
moritz89 opened this issue Jun 15, 2024 · 0 comments
Open

Add support for CA bundles #884

moritz89 opened this issue Jun 15, 2024 · 0 comments

Comments

@moritz89
Copy link
Contributor

Instead of only a single CA cert, support CA bundles to verify the TLS connections.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/protocols/esp_crt_bundle.html

To add support, one option is to add a new constructor that accepts a pointer and then calls setCACertBundle on the WiFiClientSecure instance.

Espressif supports these bundles via an archive that reduces the required flash memory and only loads the CA indexes instead of the entire certificate into memory. The respective cert is then loaded on TLS connection setup.

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

No branches or pull requests

1 participant