I am using openssl example server and client with specific cipher in ubuntu 14.10 pc. The openssl version is 1.0.1.
When I use the RC4-SHA cipher in both sides, the connection is established successfully. However, when I use ECDH-RSA-AES128-SHA or some other elliptic curve cipher, I get the following error:
3074328252:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:762: --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 7 bytes and written 163 bytes --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE
Is there some specific reason why this happens?