curl错误:“sslv3 alert unexpected message” [英] curl error: "sslv3 alert unexpected message"

查看:1045
本文介绍了curl错误:“sslv3 alert unexpected message”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Curl给我以下错误:

 错误:140773F2:SSL例程:SSL23_GET_SERVER_HELLO:sslv3警报意外消息



这是什么意思?

解决方案

这表示SSL握手有问题。您需要指定协议版本,如下所示:

  curl_setopt($ curl_connection,CURLOPT_SSLVERSION,3); 

如果您仍然收到错误,请将3更改为2。


Curl gives me following error:

error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert unexpected message

What does this mean?

解决方案

It means bad SSL handshake. You will need to specify the version of the protocol like this:

curl_setopt($curl_connection, CURLOPT_SSLVERSION, 3);

Change 3 to 2 if you still get the error.

这篇关于curl错误:“sslv3 alert unexpected message”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆