发送https请求,有时返回正常,有时异常。异常报错:Curl error: SSL certificate problem: Couldn't understand the server certificate format网上找的代码,加了两行还是如此,请问如何解决?接口不稳定curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // https请求 不验证证书和hostscurl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
添加回答
举报
0/150
提交
取消