example smtp_client gives certificate error -0x2700
Posted: Tue May 28, 2024 8:52 pm
I am simply trying to run the smtp_client example and I am getting an error which I have not found a solution:
220 2.0.0 Ready to start TLS
I (7575) smtp_example: Performing the SSL/TLS handshake...
E (8365) smtp_example: mbedtls_ssl_handshake returned -0x2700
E (8365) smtp_example: Last error was: -0x2700 - X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
It should be trying to connect to smtpauth.hosting.earthlink.net which I routinely use with the thunderbird email client. The example comes with a server_root_cert.pem file, but is that even relevant when I am just trying to connect as a client?
220 2.0.0 Ready to start TLS
I (7575) smtp_example: Performing the SSL/TLS handshake...
E (8365) smtp_example: mbedtls_ssl_handshake returned -0x2700
E (8365) smtp_example: Last error was: -0x2700 - X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
It should be trying to connect to smtpauth.hosting.earthlink.net which I routinely use with the thunderbird email client. The example comes with a server_root_cert.pem file, but is that even relevant when I am just trying to connect as a client?