• 技术文章 >后端开发 >php教程

    [curl] 60: SSL certificate problem

    2016-08-04 09:20:04原创625
    用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核实处理。
    专题推荐:php
    上一篇:Apache 添加8080端口后 网页里面的链接依旧是跳转到80端口 下一篇:自己动手写 PHP MVC 框架(40节精讲/巨细/新人进阶必看)

    相关文章推荐

    • 浅析PHP应用程序中正确调用系统命令的方法• 求解:phpcms模板怎样转码?该怎么解决• 想请问一下印证的有关问题• php 之 cookie 跟 session 简单解读(笔记) • xml转换成数组的有关问题
    1/1

    PHP中文网