执行命令:
生成yum 缓存
dnf makecache
错误如下:
Rocky Linux 9 - BaseOS 0.0 B/s | 0 B 00:04
Errors during downloading metadata for repository 'baseos':
- Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [SSL certificate problem: certificate is not yet valid]
错误:为仓库 'baseos' 下载元数据失败 : Cannot prepare internal mirrorlist: Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [SSL certificate problem: certificate is not yet valid]
时间不同步导致的,修改系统时间即可:
date -s 2023-08-18
标签:remote,certificate,BaseOS,60,SSL,mirrorlist,was From: https://blog.51cto.com/u_16311768/8017233