cURL错误60:尝试使用symfony时发生ssl证书问题 [英] cURL error 60: ssl certification issue when attempting to use symfony

查看:795
本文介绍了cURL错误60:尝试使用symfony时发生ssl证书问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在尝试使用新命令 C:>之前,我已经安装了一个新的Windows计算机并安装了php symfony框架。 ;我收到错误消息 [GuzzleHttp\Ring\Exception\RingException] cURL错误60:SSL证书问题:无法获取本地颁发者证书 code>。



由于我对CMD界面没有太多的经验,我对这个例子做什么没有什么。



我需要知道这是一个错误与windows或symfony本身和任何可能的路线,我可以采取修复它。

解决方案

按照链接,复制整个页面并将其保存为: cacert.pem



然后在 php.ini 文件插入或编辑以下行:curl.cainfo =[pathtothisfile] \cacert.pem





请使用作曲家代替Symfony安装程序


I have recently gotten a new windows computer and have installed the php symfony framework.

When attempting to use the new command C:> php symfony new blog I receive the error message [GuzzleHttp\Ring\Exception\RingException] cURL error 60: SSL certificate problem: unable to get local issuer certificate.

I am clueless on what to do in this instance as I am not too experienced with the CMD interface.

I need to know if this is an error with windows or with symfony itself and any possible routes I could take in fixing it.

解决方案

Follow this link, 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"

Or

use composer instead Symfony installer

这篇关于cURL错误60:尝试使用symfony时发生ssl证书问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆