github推送失败-server certificate verification failed

jeffsui 发布于 2015/07/23 19:45
阅读 774
收藏 0
Git

昨天想更新博客来着,结果发现推送到github失败

执行这个命令:git push origin master

报错信息如下:

Error: * Couldn't find host github.com in the _netrc file, using defaults
* About to connect() to github.com port 443
* Expire at 3572 / 831000 (300000ms)
*   Trying 192.30.252.129... * connected
* Connected to github.com (192.30.252.129) port 443
* found 140 certificates in C:\Program Files (x86)\Git/bin/curl-ca-bundle.crt
* server certificate verification failed. CAfile: C:\Program Files (x86)\Git/bin
/curl-ca-bundle.crt
* Expire cleared
* Closing connection #0
fatal: unable to access 'https://github.com/jeffsui/jeffsui.github.io.git/': ser
ver certificate verification failed. CAfile: C:\Program Files (x86)\Git/bin/curl
-ca-bundle.crt



希望有遇到过这个情况的人解答。


加载中
0
jeffsui
jeffsui

问题结贴:

1.因为我在安装boot2docker的时候,安装了git for windows,本机已经有一个git for windows,产生了冲突。

解决方案:

1.重装git for windows ,搞定。

返回顶部
顶部