error setting certificate verify locations: CAfile: E:/git/Git/mingw64/ssl/certs/ca-bundle.crt

一、问题:

当git clone项目时报 error setting certificate verify locations: CAfile: E:/git/Git/mingw64/ssl/certs/ca-bundle.crt 错误

二、原因:

我的git的安装在E盘中一个叫GitProject的文件夹下(也就是我的ca_bundle.crt是在:E:/GitProject/Git/mingw64/ssl/certs/ca-bundle.crt目录下),当克隆项目的时候默认找的是git文件夹下的  文件(所以在安装git的时候就建一个叫git的文件夹就好)。

也就是说出现这种问题,是因为文件路径的问题。

三、解决办法:

将文件夹GitProject改成git。

当git文件是在另一个目录中的解决办法:http://blog.csdn.net/freezaee/article/details/50312505(未测试过)

时间: 2024-07-31 21:35:27

error setting certificate verify locations: CAfile: E:/git/Git/mingw64/ssl/certs/ca-bundle.crt的相关文章

SourceTree不出现用户登录窗口,提示错误fatal: unable to access'...'; error setting certificate verify locations

SourceTree不出现用户登录窗口,提示错误fatal: unable to access'...'; error setting certificate verify locations; ...\Git\mingw64\libexec\ssl\certs 去查看这个这个目录下的文件是否存在,不存在则放到对应的地方即可. SourceTree不出现用户登录窗口,提示错误fatal: unable to access'...'; error setting certificate verif

解决 error setting certificate verify locations: 无法clone项目

error setting certificate verify locations:系统提示是告诉我们系统的系统有问题 解决方法是直接设置跳过SSL证书验证就可以了 打开 git命令行 输入git config --global http.sslVerify false 设置完成后继续clone,就可以了.

git clone 远程仓库报错error setting certificate verify locations

系统:windows10 今天从github上克隆项目时报错: 原因: 1.git配置没有修改 之前配置的是公司gitlab账号的信息,和我当前要克隆的github的配置信息不同,没有注意修改 2.执行以下命令: git config --system http.sslverify false 修改后即可成功克隆 参考地址:http://stackoverflow.com/questions/3778042/github-error-cloning-my-private-repository 该

Git 报错 error setting certificate verify locations

从字面上看,本地证书验证错误,这个我理解了,因为我下载的是HTTPS的内容,需要配置证书! 解决方案: 打开git bash,直接关闭证书校验 git config --system http.sslverify false 原文地址:https://www.cnblogs.com/woxingwoxue/p/11961895.html

error: server certificate verification failed 解决方案

晚上使用更新源之后使用了git 命令,但是报错 error: server certificate verification failed 在stackoverflow 上有一页专门解答:server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none ,针对不同情况,里面有很多的解决方案. 我的属于系统时间错误,和下面这个问题相同: Another cause of

[nodejs] Error: unable to verify the first certificate

Error: unable to verify the first certificate Solution npm config set registry http://registry.npmjs.org/ --global UNABLE_TO_VERIFY_LEAF_SIGNATURE npm config set strict-ssl false

豆瓣 URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719)>

import urllib.request as urlrequest #import ssl#ssl._create_default_https_context = ssl._create_unverified_contexturl_visit='https://api.douban.com/v2/movie/subject/1764796'crawl_content=urlrequest.urlopen(url_visit).read() print(crawl_content.decode

facebook graph api 报错SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)')

使用facebook graph api,报错如下 一开始以为是https证书验证失败,查了一下午源码,没有看到问题,于是把Python27\lib\site-packages\requests\adapters.py文件的如下位置异常处理注释掉了,看看异常到底从哪来的 def send(self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None): """Sends Prep

使用CURL出现certificate verify failed错误的解决方法

今天使用CURL访问微信平台接口时遇到一个错误,返回错误代码如下: ? 1 2 SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed 从字面上理解应该是和证书相关,在百度的时候搜索到国外一篇博客:http://davidwalsh.name/php-ssl-c