今天在虚拟机使用git clone仓库时出现证书的错误
fatal: unable to access 'http://github.com/php/pecl-search_engine-sphinx.git/': Peer's Certificate has expired.
不知道什么原因造成证书过期,上网找了下解决办法:
git config –global http.sslVerify false
这大概是关闭https证书的验证的意思
在此做个笔记,方便以后再次遇到问题可以快速找到解决办法。欢迎大神来解释下这个问题出现的原因。
git clone 出现证书过期错误
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
git常用命令小计
wchyumo2009
2020-07-08 12:20:37
centos7源码安装kong分布式网关实践
一: 安裝openssl和pcre yum -y install pcre-devel openssl openssl-devel 安裝git yum install git -y
幽默龙
2020-07-08 12:31:24
Desire rom - build kernel
dkyang
2020-07-08 12:22:51
八、SpringCloud——Config 分布式配置中心Demo
仁钦宝
2020-07-08 11:45:52
centos 7 下 gitlab-runner 自动 CI/CD (持续集成/持续部署) 配置
你个大猪蹄子
2020-07-08 11:16:39
Gerrit status Merge conflict 解决
liuskyter
2020-07-08 11:16:26
git 本地库的操作
yue_zhong
2020-07-08 11:09:17
idea配置Git上传代码到Gitlab
leo_gothic
2020-07-08 10:42:16
Git::取消跟踪文件&&重新跟踪
取消跟蹤文件&&重新跟蹤 如果修改了.gitignore文件,那麼需要進行如下操作: git rm -rf --cached . git add ./*
dieju8330
2020-07-08 10:35:13
[转载]::Github进行fork后如何与原仓库同步
dieju8330
2020-07-08 10:35:13
git异常:fatal: 'idea-line-2' is not a commit and a branch 'idea-line-2' cannot be created from it
創建分支並且拉去遠程同步分支的過程中出現該異常: fatal: 'idea-line-02' is not a commit and a branch 'idea-line
Danny_idea
2020-07-08 09:57:37
gitignore的使用
ynd_sg
2020-07-08 09:20:23
git克隆或下载仓库中的某一个文件夹
ynd_sg
2020-07-08 09:20:23
Git 实用命令--持续更新
Joker_PL
2020-07-08 09:11:56