curl: (60) server certificate verification failed.

最近想从清华源下载aosp的源码,在curl清华源的repo时就老是报错

看样子是证书出了问题,解决办法:

export GIT_SSL_NO_VERIFY=1

关闭系统的安全认证,然后再次下载,但问题好像还是存在,注意到提示要加参数“-k”

It's OK! 

猜你喜欢

转载自blog.csdn.net/mdx20072419/article/details/128452146