apt update时报错Certificate verification failed
具体报错信息:
Certificate verification failed: The certificate is NOT trusted.
Err:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.
Could not handshake: Error in the certificate verification.
E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
最近我的几个Ubuntu升级都出现了一样的问题,之前一直都是好的,看报错信息是SSL的ca证书验证失败,我用的清华镜像源,猜测可能是ca证书过期了,网上有的说重装一下ca-certificates这个软件,但是我拉软件就报错,仿佛变成了一个鸡生蛋,蛋生鸡的问题。
后来我的解决方法是,把ap

在Ubuntu系统中执行apt update时遇到证书验证失败的问题,报错信息指向SSL ca证书。尝试重装ca-certificates未果,改为使用http源成功升级并自动修复ca-certificates。解决步骤包括更改apt源为http,执行更新,然后恢复https源,并再次检查更新。
最低0.47元/天 解锁文章
8109

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



