Matan,
We have tried using openssl on Linux to check this issue and met the same problem:
openssl s_client -connect coursera.org:443
139703702972064:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:734:
but when we add the servername :
openssl s_client -connect coursera.org:443 -servername coursera.org
connection successful.
Reason we have determined from the web:
“With Server Name Indication (SNI), a web server can have multiple SSL certificates installed on the same IP address. SNI-capable browsers will specify the hostname of the server they’re trying to reach during the initial handshake process. This allows the web server to determine the correct SSL certificate to use for the connection.”
It seems “coursera.org” has different SSL certificates on the same IP address which leads to the handshake failure. Can you tell me why you are using this specific website? We think the issue is only here, if you try a different one it will work.
Regards
Matt