Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git:SSL证书问题_Git_Ssl_Github - Fatal编程技术网

Git:SSL证书问题

Git:SSL证书问题,git,ssl,github,Git,Ssl,Github,我在cmd中运行git命令。它在一段时间前工作过,但现在每当我使用git命令时,就会出现以下错误 fatal: unable to access 'github.com/user_name/repo_name.git/' : SSL certificate problem: unable to get local issuer certificate 它在一周前起作用了,但在我没有改变任何事情的时候就不再起作用了。这很奇怪。我的操作系统是WIndows 8.1和Git版本1.9.5 谢谢

我在cmd中运行git命令。它在一段时间前工作过,但现在每当我使用git命令时,就会出现以下错误

fatal: unable to access 'github.com/user_name/repo_name.git/' 
:  SSL certificate problem: unable to get local issuer certificate
它在一周前起作用了,但在我没有改变任何事情的时候就不再起作用了。这很奇怪。我的操作系统是WIndows 8.1和Git版本1.9.5


谢谢

您应该检查Windows中是否安装了正确的CA证书。
我相信您可以通过使用Internet Explorer查看github.com,然后安装与SSL证书捆绑在一起的中间证书和CA证书来安装它。(右键单击锁)

您使用的是哪个版本的Git?在什么操作系统上?(Windows、Linux?Mac?)@VonC感谢您的回复!我使用的是Windows 8.1和Git版本1.9.5,您是否可以尝试使用Git 2.4.6(在任何地方解压)。另外,什么
git remote-v
返回?您的系统时间正确吗?@RichardWU协议在
中丢失,无法访问'github.com/user\u name/repo\u name.git/'
,您确定错误正好说明了这一点吗?例如,它应该以
https
开头。就像@VonC询问的那样,
git remote-v
返回什么?