Ubuntu仓库ca问题

在Ubuntu系统中执行apt update时遇到证书验证失败的问题,报错信息指向SSL ca证书。尝试重装ca-certificates未果,改为使用http源成功升级并自动修复ca-certificates。解决步骤包括更改apt源为http,执行更新,然后恢复https源,并再次检查更新。
摘要由CSDN通过智能技术生成

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值