[curl] 60: SSL certificate problem

原创
2016-08-04 09:20:04841浏览

用curl链接的时候出现上面这个问题。在Google上找到了答案,后来也修好了,但是不知道是什么原因,有知道的给解释一下~~

解决方法链接:
https://laracasts.com/discuss...

I had the exact same but on Windows & xampp. My solution was as simple as: Follow this link: http://curl.haxx.se/ca/cacert.pem Copy the entire page and save it in a: "cacert.pem"

Then in your php.ini file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem"

Problem solved

回复内容:

用curl链接的时候出现上面这个问题。在Google上找到了答案,后来也修好了,但是不知道是什么原因,有知道的给解释一下~~

解决方法链接:
https://laracasts.com/discuss...

I had the exact same but on Windows & xampp. My solution was as simple as: Follow this link: http://curl.haxx.se/ca/cacert.pem Copy the entire page and save it in a: "cacert.pem"

Then in your php.ini file insert or edit the following line: curl.cainfo = "[pathtothisfile]\cacert.pem"

Problem solved
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。