We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL certificate problem: unable to get local issuer certificate 发送红包时一直出错。 后来校验官方给出例子
//这里设置代理,如果有的话 //curl_setopt($ch,CURLOPT_PROXY, '10.206.30.98'); //curl_setopt($ch,CURLOPT_PROXYPORT, 8080); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false); curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,false);
而该包里面是
//设置证书 //使用证书:cert 与 key 分别属于两个.pem文件 curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER, true); curl_setopt($this->curl, CURLOPT_SSL_VERIFYHOST, 2);//严格校验
导致一直报如上错误。经过修改两个值为false后,不再报错
The text was updated successfully, but these errors were encountered:
如果自己没装服务器证书,这个确实会报错,自己改下就行。至于装了证书后是什么情况也没试过。
Sorry, something went wrong.
我本地改了后,以后升级或直接下载的时候,不就又需要改包了?
http://easywechat.org/docs/zh-cn/troubleshooting.html#curl_3A__2860_29_SSL_certificate_problem_3A_unable_to_get_local_issuer_certificate
No branches or pull requests
SSL certificate problem: unable to get local issuer certificate
发送红包时一直出错。
后来校验官方给出例子
而该包里面是
导致一直报如上错误。经过修改两个值为false后,不再报错
The text was updated successfully, but these errors were encountered: