MicroOcpp
MicroOcpp copied to clipboard
esp-tls issue
Thanks for creating such a wonderful program,
I am using Using examples/esp-tls and My CA certificate is fine and
Using Signature Algorithm: sha256WithRSAEncryption Public-Key: (2028 bit)
Getting below error , despite setting my CA certificate in
const char ENDPOINT_CA_CERT[] PROGMEM
Error coming on connection is below,
[E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -9984 [AO] info (.pio/libdeps/esp32dev/ArduinoOcpp/src/ArduinoOcpp/Core/OcppSocket.cpp:31): Disconnected [E][ssl_client.cpp:36] _handle_error(): [start_ssl_client():216]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
Hi, thank you for the feedback!
The TLS library complains that the credentials are not right yet. Can you check if:
- The time on the ESP is set
- The subject name in the certificate is the same as the hostname in your URL?
Closing this due to inactivity