PHP Curl: SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)

后端 未结 2 1428
误落风尘
误落风尘 2021-01-05 00:01

I\'m trying to execute HTTPS request:

curl_setopt($curl, CURLOPT_URL, \'https://***.com\');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cu         


        
相关标签:
2条回答
  • 2021-01-05 00:21

    If you're using PRTG and get this error, go to settings and change from "SSL V2 or V3" to "SSL V3".

    0 讨论(0)
  • 2021-01-05 00:34

    Fix:

    curl_setopt($ch, CURLOPT_SSLVERSION,3); 
    
    0 讨论(0)
提交回复
热议问题