Topic: Getting connectivity issue when trying SSL cipher ECDHE-RSA-AES256-SHA
Hi,
I am trying SSL connectivity with wolfssl-3.9.10 code for the following cipher:
ECDHE-RSA-AES256-SHA.
But connection is failing with following error on server side:
error = -501, can't match cipher suite
wolfSSL error: SSL_accept failed
We have tried following set of commands.
./configure --enable-ecc
make
./examples/server/server -d -l ECDHE-RSA-AES256-SHA -c ./certs/server-ecc.pem -k ./certs/ecc-key.pem
./examples/client/client -A ./certs/server-ecc.pem
Also tried with following set of commands:
./examples/server/server -d -l ECDHE-RSA-AES256-SHA -c ./certs/server-ecc-rsa.pem -k ./certs/ecc-key.pem
./examples/client/client -A ./certs/server-ecc-rsa.pem
Both are failing with error(-501).
Please correct the command usage/ certificate usage if I am doing anything wrong here.
FYI:
SSL connectivity is happening for cipher ECDHE-ECDSA-AES256-SHA with following commands:
./configure --enable-ecc
make
./examples/server/server -d -l ECDH-ECDSA-AES256-SHA -c ./certs/server-ecc.pem -k ./certs/ecc-key.pem
./examples/client/client -A ./certs/server-ecc.pem