执行repo sync -c时报错
fatal: unable to access 'http://aosp.tuna.tsinghua.edu.cn/platform/prebuilts/android-emulator/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
fatal: unable to access 'http://aosp.tuna.tsinghua.edu.cn/device/google/bonito-kernel/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
device/google/bonito-kernel: sleeping 4.0 seconds before retrying
fatal: unable to access 'http://aosp.tuna.tsinghua.edu.cn/device/google/bonito-kernel/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
解决方法:
git config --global http.sslverify false
本文介绍了在执行reposync-c命令时遇到的服务器证书验证错误,通过临时设置git配置http.sslverify为false来解决问题,并提供了详细步骤。
1507

被折叠的 条评论
为什么被折叠?



