Yum 报错 curl#60 – “Peer’s Certificate has expired.”

Yum 安装提示

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

或者

curl#60 – “Peer’s Certificate has expired.”

可能是由于服务器时间不正确导致https证书认证错误

更新服务器时间即可

例:

date -s “2017-4-25 12:00:00”

或者

ntpdate time.apple.com