-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
how to use NetworkClientSecure::setCACertBundle(const uint8_t *bundle, size_t size) ? in Arduino #10949
Comments
This method is similar to the single root certificate verification above, but it uses a standard set of To use this feature in PlatformIO:
To use this feature in Arduino IDE:
can i follow the instruction above? |
I would suggest the following path:
|
Amazon Root CA 2-----BEGIN CERTIFICATE----- Amazon Root CA 3-----BEGIN CERTIFICATE----- Amazon Root CA 4-----BEGIN CERTIFICATE-----
|
the error suggests that the certificates were not correctly listed, but otherwise the process was OK. Meaning that turning the bin into array and giving that to the API was done correctly. Please check with ESP-IDF on how the certificate file should be structured |
Board
ESP32-C3
Device Description
ESP32-C3
Hardware Configuration
NOTHING
Version
latest development Release Candidate (RC-X)
IDE Name
Arduino
Operating System
Win 10
Flash frequency
40
PSRAM enabled
yes
Upload speed
115200
Description
void NetworkClientSecure::setCACertBundle(const uint8_t *bundle, size_t size)
In Arduino IDE, we cant use menuconfig like ESP32-IDF to set the X509 bundle, how can i solve this problem with API- setCACertBundle ?
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: