YUM:设置证书验证位置时出错

YUM:设置证书验证位置时出错

我正在尝试让 yum 更新再次运行,但是它总是显示此消息,我该怎么办?

[root@CJL01 ~]# sudo yum update
Docker CE Stable - x86_64                                                                                                                                     0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'docker-ce-stable':
  - Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://download.docker.com/linux/centos/8/x86_64/stable/repodata/repomd.xml [error setting certificate verify lo
cations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none]
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://download.docker.c
om/linux/centos/8/x86_64/stable/repodata/repomd.xml [error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none]

相关内容