I have a big ssl problem with curl on certain web sites, where it returns :
curl: (35) error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
This error is documented (Google
) but the provided tips and solutions found so far did not work, merely it relies on this configuration lines inside a php script :
curl_setopt ($curlId, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($curlId, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($curlId, CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
What I did : upgrade gnutls to 3.3.9, then upgrade from the latest curl version (7.41.0) an recompile php (5.4.38) on my system, I also tried to recompile curl with openssl (0.9.8o) instead of gnutls but I dit get the exact same result.
From a php script the output displays :
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
* error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
* Closing connection 0
Any help / solution greatly appreciated.