问题描述

在linux 机器上,拉取远程git 仓库时,会报如下错误信息:

Peer’s Certificate issuer is not recognized.

[centos ~]$ git clone https://git.code.com/web/downloader
Cloning into 'downloader'...
fatal: unable to access 'https://git.code.com/web/downloader': Peer's Certificate issuer is not recognized.

解决方案

尝试执行如下指令

$ git config --global http.sslVerify false

然后重新拉取git 远程仓库,输入远程仓库账号,密码即可。

$ git clone https://git.code.com/web/downloader
Cloning into 'downloader'...
Username for 'https://git.code.com': robbie
Password for 'https://robbie@git.code.com': 
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐