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问题解决方案的详细内容,更多请关注教程集其它相关文章!
您可能感兴趣的文章:
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