2016-01-21 105 views
26

今天与PHP 5.5的网站是工作的罚款已经开始抛出这个错误:PHP的贝宝错误:14077410:SSL例程:SSL23_GET_SERVER_HELLO:SSLV3警报握手失败

error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

我已经尝试了许多解决方案不同的问题,但我找不到错误。

MAMP SSL error: "error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure"

这里说的CURLOPT_SSL_VERIFYPEER更改为false,但不起作用。

我已经尝试过很多sslversions和cipher_list,但也不管用。

正如我所说的,这个问题在几天前不在这里,也许它是与1.6.4版本有关的新东西。

任何想法?

+1

yes我也遇到同样的问题,使用omipay php库 – user3538235

+3

嗨iam在贝宝沙箱中遇到同样的问题。可以帮助提供解决方案来修复相同的问题吗? – Mahahari

+0

我在我的网站也有相同的问题,以及沙盒... –

回答

18

如果您指向Sandbox服务器,最近出现了一些会导致该特定错误的更新。
下面是从贝宝商家的技术支持微型的SHA-256的信息和链接升级:

Support SHA-256. PayPal is upgrading SSL certificates on all Live and Sandbox endpoints from SHA-1 to the stronger and more robust SHA-256 algorithm. You will need to update your integration to support certificates using SHA-256.
Discontinue use of the VeriSign G2 Root Certificate. In accordance with industry standards, PayPal will no longer honor secure connections that require the VeriSign G2 Root Certificate for trust validation. Only secure connection requests that are expecting our certificate/trust chain to be signed by the G5 Root Certificate will result in successful secure connections.

直接从贝宝微型: SSL Certificate Upgrade

On January 19-20, 2016 The Sandbox endpoints will be upgraded to new SHA-256, 2048-bit certificates:

api.sandbox.paypal.com 
api-3t.sandbox.paypal.com 
api-aa.sandbox.paypal.com 
api-aa-3t.sandbox.paypal.com 
svcs.sandbox.paypal.com 
pointofsale.sandbox.paypal.com 
ipnpb.sandbox.paypal.com 
www.sandbox.paypal.com (for IPN) 

这里是链接PayPal User Guide以及将您的证书更改为G5根证书的详细说明。

+4

谢谢..信息,但请给我们解决方案... –

+1

检查你有哪些证书,并按照[本指南](https://www.paypal-knowledge.com/resources/sites/PAYPAL/内容/ live/FAQ/1000/FAQ1766/en_US/2015%20附加%20Security%20System%20Upgrade%20Guide%20%28U.S.%20English%29.pdf)从G2更改为G5根证书。 –

+2

对不起,我仍然没有得到它,就像。我有一个代码正在运行,没有任何问题,现在他们谈论认证和新的端点,我没有得到我必须编辑的工作。我绝对不会。 $ API_Endpoint =“https:// api-3t”。$ paypalmode。“.paypal.com/nvp”;我有这条线说到终点,$ paypalmode包含沙箱或live,这就是我可以看到的所有内容。它是否必须改变?最糟糕的部分是它在本地主机上运行,​​但不在线。 – Dunnow

0

我的问题是通过在我的Mac上重新安装PHP 7解决的。检查您拥有的最新版本的libcurl也是值得的。

1

我将PHP服务器从5.4升级到7.0,错误消失。

+0

我的PHP是7.0,但我仍然看到错误 – MFarooqi