1. ホーム
  2. Linux

CentOS 7 エラー: curl#60 - "ピアの証明書は有効期限が切れています。"

2022-02-13 19:41:05
Error message.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] 

curl#60 - "Peer's Certificate has expired."
Trying other mirror.

Cause.

Probably due to incorrect server time causing https certificate authentication error

Just update the server time

Solution.
# date -s "2019-03-31 00:00:00"

or
# ntpdate time.apple.com