[英]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.