curl error: “sslv3 alert unexpected message”

前端 未结 1 1514
执念已碎
执念已碎 2020-12-20 06:36

Curl gives me following error:

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

What does this mean?

相关标签:
1条回答
  • 2020-12-20 07:02

    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.

    0 讨论(0)
提交回复
热议问题