1、背景说明
使用git clone命令,拉取远程的https的git仓库时,报错:
unable to access "https://xxxx.com/n_patch_test.git/": ssl certificate problem:unable to get local issue certificate
2、问题分析及解决
2.1 分析
通过上面的报错信息,可以分析到,是git的证书的问题,无法对证书进行验证。
2.2 解决
可以通过设置在git操作的时候,不进行ssl的验证,解决该问题。
设置命令如下:
git config --global http.sslVerify false
这样就可以忽略对ssl的验证。
后面所有本地的git命令,都是忽略了ssl的验证。
- certificate 命令 problem unable 问题certificate命令problem unable certificate problem issuer unable certificate slackware problem问题 certification requested unable target certification requested源码unable certificate connect expired unable certificates主机vcenter unable certificate certifica problem issuer certificate unable issuer error certificate错误problem时候