AndroidAndroid技术知识Android开发

SSL certificate problem: certifi

2022-02-08  本文已影响0人  zhongjh

因为github clone code下来很慢,所以这边采取国内加速方式

例如一下地址
https://github.com.cnpmjs.org/zhongjhATC/AlbumCameraRecorder.git

但是Android Studio clone 出现以下错误:

Cloning into 'AlbumCameraRecorder'...
fatal: unable to access 'https://github.com.cnpmjs.org/zhongjhATC/AlbumCameraRecorder.git/': SSL certificate problem: certificate has expired

关键点是 SSL certificate problem: certificate has expired

解决思路:

重点是问题描述里面的最后一句 certificate problem: certificate has expired,意思是证书过期了。关掉SSL验证即可

解决步骤

git config --global http.sslVerify false

能帮助到您点个收藏吧!

上一篇下一篇

猜你喜欢

热点阅读