yum安装的时候碰到下面的错误
Last metadata expiration check: -2030 days, 9:09:24 ago on Fri 12 Jan 2024 10:09:13 AM CST.
[MIRROR] foreman-release.rpm: Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://yum.theforeman.org/releases/2.2/el7/x86_64/foreman-release.rpm [SSL certificate problem: certificate is not yet valid]
最后发现是实际不同步,配置了时间同步就可以了。