MENU

【Peer’s Certificate issuer is not recognized】错误解决方法

January 12, 2020 • linux相关

场景

CentOS7 中使用 git clone https://usr:[email protected]/xxx/xxx.git 时提示 Peer’s Certificate issuer is not recognized

解决

执行命令:

git config --global http."sslVerify" false

或者,在 .gitconfig 文件中添加如下配置:

[http]
    sslVerify = false
Last Modified: September 30, 2021