其他, 原创,

git获取代码提示SSL certificate problem: unable to get local issuer certificate

近日在使用PHPStorm的版本控制,抓取线上SVN代码,使用的是Git百度应用BAE。
来看看错误信息(在拉取服务器上代码时 提示 证书有问题 :  Clone failed: unable to access ‘https://git.duapp.com/appidxxxx/’: SSL certificate problem: unable to get local issuer certificate)

git -c core.quotepath=false clone --progress https://git.duapp.com/appidxxxx appidxxxx
Cloning into 'appidxxxx'...
fatal: unable to access 'https://git.duapp.com/appidxxxx9/': SSL certificate problem: unable to get local issuer certificate

在网上搜了很多资料也未能搜到如何正常解决这个问题,于是提交给了百度,百度工作人员马上给了回复:

麻烦您尝试执行 git config –global http.sslVerify false 这条命令,在进行git clone

果然问题解决。

(6255)

Related Post