php中SSL certificate https问题解决方案-php教程

资源魔 32 0

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中文网!

以上就是php中SSL certificate https成绩处理计划的具体内容,更多请存眷资源魔其它相干文章!

标签: 解决 https php开发教程 php开发资料 php开发自学 ssl

抱歉,评论功能暂时关闭!