-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Description
Board
ESP32 Dev Module
Device Description
DevKit
Hardware Configuration
all attached but working fine
Version
latest master
IDE Name
IDF Component
Operating System
Windows 10
Flash frequency
80
PSRAM enabled
no
Upload speed
9600
Description
[ 73564][E][ssl_client.cpp:36] _handle_error(): [start_ssl_client():210]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed [ 73624][E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -9984 [ 73719][W][HTTPClient.cpp:1400] returnError(): error(-1): connection refused
i would ask for anyone help that have similar kind of issue on error above ^
background:
i have a node.js server running on https local with selfsign certificates. the cert was registered to my computer and i am able to load the cert in my postman apps and able to call my local server using lan ip or localhost and also can load the response from server on browser. so i assume there is no issue on the certificate generation part.
i have similar setup as this issue and follow the step but no success:
#5021
Sketch
WiFiClientSecure *client = new WiFiClientSecure;
client->setCACert(CA_cert);
client->setCertificate(ESP_CA_cert);
client->setPrivateKey(ESP_RSA_key);
http.begin(*client, url);
Debug Message
`
[ 73564][E][ssl_client.cpp:36] _handle_error(): [start_ssl_client():210]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[ 73624][E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -9984
[ 73719][W][HTTPClient.cpp:1400] returnError(): error(-1): connection refused
`
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.