How to resolve SSL handshake failure with error code -0x7780 in STM32 SSL client integration?
Hey guys, I am currently working on integrating an SSL client into my IoT project. I've copied the SSL_Client example from STM32Cube_FW_F7_V1.15.0 into my project, and it compiles successfully. However, the SSL handshake fails with the error code -0x7780 (MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE).
I would appreciate any guidance on resolving this issue.
Below is the console debug output:
I would appreciate any guidance on resolving this issue.
Below is the console debug output:
Solution
You can usually find this information in the server's documentation or by using tools such as SSL Labs' SSL Test. Also, try to verify that your root CA certificates are properly loaded on the client side.