野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1037|回复: 0

[经验\资料] RK3588-Luban5-debain-lite apt update更新时提示证书错误

[复制链接]
发表于 2025-4-21 15:22:16 | 显示全部楼层 |阅读模式
  自己从代码中编译出来的debian-lite,发现一直apt-update失败,更换软件源也一样,一直是证书错误如下,网络上要么让改软件源https为http,或者安装ntp或者重新安装Certificate都不太对或者没效果,

Err:1 https://cloud.embedfire.com/mirrors/ebf-debian carp-rk3588 InRelease
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate.  Could not handshake: Error in the certificate verification. [IP: 121.207.229.243 443]



最后发现data -R显示的时间是2024,没有更新到时间的问题




root@lubancat:~# date -R
Mon, 26 Aug 2024 05:07:55 +0800



那就使用ntpdate更新时间

root@lubancat:~# sudo ntpdate time.nist.gov


root@lubancat:~# date -R
Mon, 21 Apr 2025 14:14:13 +0800


之后正常update。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2025-12-6 00:17 , Processed in 0.083710 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表