参考链接:others-How to solve ‘gnutls_handshake() failed’ error when doing ‘git clone’ from github.com ?

Errors

Cloning into 'GlobalTrack'...
fatal: unable to access 'https://github.com/xxx.git/':
error setting certificate verify locations:
CAfile: E:/dev/env/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none

Solution #1(如果不行,直接看解决方案3,最后再考虑解决方案2)

https 修改为 http

# git clone https://github.com/MasterBin-IIAU/Unicorn.git unicorn
git clone http://github.com/MasterBin-IIAU/Unicorn.git unicorn

Solution #2(暴力解决,不推荐使用)

git config --global http.sslverify "false"

设置后,最好重启下当前终端,然后执行 git clone

Solution #3(指定证书的路径,推荐使用)

  • Ubuntu 18.04 中的 CA 证书位置 | 智问智答
  • git clone: error setting certificate verify locations · Issue #36 · scalingexcellence/scrapybook
# 如果报 fatal: not in a git directory, 先执行 git init 命令
# git init
sudo git config --system http.sslCAinfo /etc/ssl/certs/ca-certificates.crt

注意,需要重启当前终端!!!

git clone失败:Cloning into... fatal: unable to access... error setting certificate verify locations相关推荐

  1. idea git clone报错unable to access '……':error setting certificate verify locations问题

    进入git-bash窗口,输入命令: git config --system http.sslverify false 即可解决问题.

  2. git clone 遇到问题:fatal: unable to access

    git clone 遇到问题:fatal: unable to access 'https://github.com/ros-planning/navigation.git/': Failed to ...

  3. 【git clone 报错】fatal: unable to access ‘https://github.com/zimeng303/React.git/‘: Failed to connect

    [git clone 报错]fatal: unable to access 'https://github.com/zimeng303/React.git/': Failed to connect t ...

  4. git clone 遇到问题:fatal: unable to access ‘https://github.comxxxxxxxxxxx‘: Failed to connect to xxxxxxx

    git clone 遇到问题:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxx ...

  5. idea使用git推送、下载失败error setting certificate verify locations:

    今天使用idea像往常一样打开放到coding团队开发的项目. 首先就是更新,看是否有小伙伴体提交了代码 结果发现无论是推送还是更新下载都失败 克隆: Clone failed: unable to ...

  6. Git提示error setting certificate verify locations解决办法

    话说前一段时间从GitHub上更新提交代码,总是报如下的错误,给我郁闷的. Push failed: Failed with error: fatal: unable to access 'https ...

  7. git 提示error setting certificate verify locations 解决方案

    git 提示error setting certificate verify locations 解决方案 参考文章: (1)git 提示error setting certificate verif ...

  8. error setting certificate verify locations: CAfile: F:/gitt/Git/mingw64/ssl/certs/ca-bundle.crt

    使用git时遇到的问题. error setting certificate verify locations:   CAfile: F:/gitt/Git/mingw64/ssl/certs/ca- ...

  9. git clone 报错:fatal: unable to access ‘https://github.com/xxxxxxxxx/xxx.git/‘: gnutls_

    完整报错:fatal: unable to access 'https://github.com/xxxxxxx/xxxx.git/': gnutls_handshake() failed: The ...

最新文章

  1. Java反射(详述版)
  2. CSU OJ1960
  3. bool变量取反_Task 01:Python基础入门:从变量到异常处理(第1天)
  4. 常见虚拟主机目录对照及星外提权目录
  5. 实体类?Dao接口?Mapper映射文件?都别写了!!!用这种方法就可以
  6. 表格字体缩小 php_如何快速找出两个Excel表格不同的地方?
  7. ElasticSearch基本查询一(英文分词)
  8. STL —— STL六大组件
  9. XenCenter6.2 配置ISO库
  10. Python pip下载包时候出现下载中断,超时的情况
  11. CS224n(2019):Assignment2 参考答案
  12. 在RK3066/RK3188电视棒上安装ubuntu(MK802III/MK808B/MK809/MK908/UG802/QC802
  13. Excel学习笔记4||数据处理函数ROUND、INT、TRUNC、MAX、MIN、ROW、COLUMN
  14. 点火成功后,她泪流满面!美国可控核聚变背后的华裔女科学家
  15. 【微电子】半导体器件物理:0-2半导体器件基本架构与类型、半导体器件与电路技术之发展
  16. 3月最新!AIGC公司生态地图;开发者实用ChatGPT工具清单;上手必会的SD绘图教程;字幕组全自动化流程大公开 | ShowMeAI日报
  17. 湖州市申报工程师职称准备工作
  18. Java后端使用socketio,实现小程序答题pk功能
  19. 最适合散户最有效的成长型价值投资(一篇博文成就股票投资高手)
  20. CSS ID选择器与CLASS选择器

热门文章

  1. 鸟哥的Linux笔记-------磁盘与文件系统
  2. 嵌入式设备开发专题《NB-IoT开发,解读SIM卡、USIM卡、UICC卡、eSIM卡的区别》
  3. 芯片设计:FPGA开发学习
  4. Devoxx法国2012天3
  5. clickhouse表引擎-合并树系列
  6. ubuntu18.04下nvidia-settings无法保存设置
  7. elasticsearch-8.0.0报错总结(ES)-持续更新
  8. 电饭锅一会儿通电一会儿不通电【检修原因】
  9. linux 虚拟ip 作用,linux-高可用之虚拟ip地址(VIP)
  10. 【软件工程】产品调研分析报告