Topic: WolfSSL communication between FreeRTOS and Linux
I'm trying to establish a secure communication between the FreeRTOS (client) and Linux (server) using the WolfSSL library.
I'm getting the error -501 that indicates that cipher suites list doesn't match.
CyaSSL_read error = -501
error = -501, can't match cipher suite
The table below show the supported cipher suites from server and client:
How can I enable one of those cipher suite on Linux to enable the communication?
Complete debug log:
received record layer msg
wolfSSL Entering DoHandShakeMsg()
wolfSSL Entering DoHandShakeMsgType
processing client hello
wolfSSL Entering MatchSuite
wolfSSL Leaving DoHandShakeMsgType(), return -501
wolfSSL Leaving DoHandShakeMsg(), return -501
wolfSSL error occured, error = -501
wolfSSL Leaving wolfSSL_negotiate, return -1
wolfSSL Leaving wolfSSL_read_internal(), return -1
wolfSSL Entering SSL_get_error
wolfSSL Leaving SSL_get_error, return -501
CyaSSL_read error = -501
wolfSSL Entering SSL_get_error
wolfSSL Leaving SSL_get_error, return -501
wolfSSL Entering ERR_error_string
error = -501, can't match cipher suite
wolfSSL Entering SSL_free
CTX ref count not 0 yet, no free
Shrinking input buffer
Best regards,