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

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

问题描述

最近我收到了一台新的Windows电脑,并安装了php symfony框架。



当尝试使用新的命令 C:> ; php symfony新博客我收到错误消息 [GuzzleHttp\Ring\Exception\RingException] cURL错误60:SSL证书问题:无法获取本地颁发者证书



在这种情况下,我无法做到这一点,因为我对CMD界面的经验不够丰富。



我需要知道这是否是Windows或symfony本身的错误,以及我可以采取的任何可能的路由修复它。

解决方案

按照链接,复制整个页面并保存在a: cacert.pem



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





使用作曲家替代S ymfony安装程序


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天全站免登陆