Since 3 days I can't connect to the paypal sandbox. I found out that they maybe dissabled the support for SSLv3. So i tried to change the SSL Version in my curl Request by setting :
curl_setopt($curl, CURLOPT_SSLVERSION,1); # 1 = TLSv1
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
The problem is that PayPal dropped support for SSLv3, TLS 1.0, and TLS 1.1 and now only support TLS 1.2 but the OpenSSL version cURL is built with (
0.9.8o) does not support TLS.
At this point all you can do is hope the host can update OpenSSL, cURL, and PHP to a newer (1.0+) version of OpenSSL.
As it stands now, your cURL client doesn't speak TLS which is required by PayPal and there are no ways around it other than updating OpenSSL.