ssl - PayPal IPN SSL 协议(protocol)版本

标签 ssl curl paypal paypal-ipn

我正在使用来自 https://github.com/paypal/ipn-code-samples/tree/master/php 的 IPN 验证码

问题是我在实时服务器上收到“cURL 错误:[35] 不支持的 SSL 协议(protocol)版本”。使用舞台服务器上的沙箱帐户一切正常。现在实时服务器有更新的 Curl 版本,即 7.42.1。我该怎么办?

这是 var_dump(curl_version());两个版本的:

prntscr.com/e61mff - 不工作

prntscr.com/e61n42 - 工作

最佳答案

从评论中包含的信息可以看出,curl 的非工作版本使用 OpenSSL 0.9.8zf 作为底层 SSL 库。此版本不包括对 Paypal 所需的 TLS 1.2 的支持。您至少需要 OpenSSL 1.0.1 才能支持 TLS 1.2。

关于ssl - PayPal IPN SSL 协议(protocol)版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42109901/

相关文章:

javax.net.ssl.SSLHandshakeException : Remote host closed connection during handshake in applet

JAVA TLS SOCKETS : bufferedreader. ready() 始终为 false

JSON Post 数据为空 - Linux curl 命令

paypal - 即时付款通知 (IPN)

php - 将博客 Paypal 按钮上的 "Donate"更改为 "Give Back"

email - 无法让 Zabbix 发送电子邮件警报

.htaccess - 如何在 .htaccess 中强制使用 ssl

docker - curl (56) 接收失败 : Connection reset by peer - when hitting docker container

http - Google Calendar API - 只能更新一次事件

rest - 如果 PATCH 不支持服务器端,如何解决 PATCH 请求