Today a website with PHP 5.5 that was working fine has started to throw this error:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
I have tried many solutions from different questions but I can't find the error.
MAMP SSL error: "error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure"
Here says to change the CURLOPT_SSL_VERIFYPEER to false, but doesn't work.
I have tried with many sslversions and cipher_list, but doesn't work either.
As I said, this problem wasn't here a few days ago, maybe it's something new related with the version 1.6.4.
Any Idea?
My problem was solved by re-installing PHP 7 on my Mac. It may also be worth checking the version of libcurl that you have is up to date.
So have already fixed the problem with handshake failure. It was due to php version. As soon as i upgraded to php 5.5 it solved the problem.
If you are pointing to the Sandbox server, recently there were some updates made that would cause that specific error.
Below is the information and link from the PayPal Merchant Technical Support Microsite on the SHA-256 Upgrade:
Directly from the PayPal MicroSite: SSL Certificate Upgrade
Here is the link to the PayPal User Guide with detailed instructions on changing your Certificate to a G5 Root Certificate.
I upgrade my PHP server from 5.4 to 7.0 and error disappear.