教程集 www.jiaochengji.com
教程集 >  脚本编程  >  php  >  正文 php中SSL certificate https问题解决方案

php中SSL certificate https问题解决方案

发布时间:2020-10-29   编辑:jiaochengji.com
教程集为您提供php中SSL certificate https问题解决方案等资源,欢迎您收藏本站,我们将为您提供最新的php中SSL certificate https问题解决方案资源

1. 下载CA bundle (cacert.pem) from http://curl.haxx.se/docs/caextract.html

2. 在服务器上找一个位置存放cacert.pem 类似于/opt/local/cacert.pem

3. 打开php的配置文件php.ini

4. 添加配置curl.ca_info = /opt/local/cacert.pem

5. 重启服务器apache或者nginx

更多PHP相关知识,请访问教程集!

以上就是php中SSL certificate https问题解决方案的详细内容,更多请关注教程集其它相关文章!

  • 本文转载于:www.80shihua.com,如有侵犯,请联系jquerycn@qq.com删除
  • 您可能感兴趣的文章:
    php中SSL certificate https问题解决方案
    php curl访问调用https时报错解决办法
    怎么下载python-docx模块
    php curl访问https实现代码
    关于在php中使用curl发送get请求时参数传递问题的解析
    phpwind支持https吗?
    lighttpd配置https
    PHP CURL访问HTTPS使用详解
    wxzh001,进来看关于APACHE PHP MYSQL SSL的LINUX下安装配置(转自奥索)
    php怎么调用自建证书的webservice

    [关闭]
    ~ ~