简体   繁体   English

cURL错误:[35]不支持的SSL协议版本

[英]cURL error: [35] Unsupported SSL protocol version

I have just made my ipn.php file for PayPal IPN and when I tested it with PayPal Sandbox IPN simulator, my errors log outputted this error: 我刚刚为PayPal IPN制作了ipn.php文件,当我使用PayPal Sandbox IPN模拟器对其进行测试时,我的错误日志输出了此错误:

cURL error: [35] Unsupported SSL protocol version

Is something wrong with my php file or my website host? 我的php文件或网站主机出了问题吗? How can I fix it? 我该如何解决?

Thanks in Advance 提前致谢

add a -1 to the curl command to force using TLS and see if that works. 向curl命令添加-1以强制使用TLS,看看是否可行。

-1, --tlsv1 -1,--tlsv1

(SSL) Forces curl to use TLS version 1.x when negotiating with a remote TLS server. (SSL)与远程TLS服务器协商时,强制curl使用TLS版本1.x。 You can use options --tlsv1.0, --tlsv1.1, and --tlsv1.2 to control the TLS version more precisely (if the SSL backend in use supports such a level of control). 您可以使用--tlsv1.0,-tlsv1.1和--tlsv1.2选项来更精确地控制TLS版本(如果使用的SSL后端支持这种级别的控制)。

http://curl.haxx.se/docs/manpage.html http://curl.haxx.se/docs/manpage.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP Curl错误35-对等方报告协议版本不兼容或不受支持 - PHP Curl Error 35 - Peer reports incompatible or unsupported protocol version cURL 不支持的 SSL 协议 - cURL Unsupported SSL Protocol curl:(35)与连接相关的未知SSL协议错误-调用Web服务时出错 - curl: (35) Unknown SSL protocol error in connection to - Error in calling webservices PHP curl SSL错误35 - php curl ssl error no 35 HTTP错误:cURL错误:35:cakephp中的连接nusoap中的未知SSL协议错误 - HTTP Error: cURL ERROR: 35: Unknown SSL protocol error in connection nusoap in cakephp cURL 错误 35 - 与 api.rkd.reuters.com:443 相关的未知 SSL 协议错误 - cURL error 35 - Unknown SSL protocol error in connection to api.rkd.reuters.com:443 PHP:cURL错误:35:连接到service.mycompany.com的未知SSL协议错误:443 - PHP: cURL ERROR: 35: Unknown SSL protocol error in connection to service.mycompany.com:443 cURL错误35:与api.mailgun相关的未知SSL协议错误 - cURL error 35: Unknown SSL protocol error in connection to api.mailgun curl errno 35(与[安全站点]:443连接时发生未知的SSL协议错误) - curl errno 35 (Unknown SSL protocol error in connection to [secure site]:443) '不支持的SSL协议版本'Curl OpenSSL版本混乱(PayPal API PHP PHP) - 'Unsupported SSL protocol version' Curl OpenSSL version confusion (paypal api php sdk)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM