尝试运行命令“YUM Update”时出现无法检索存储库元数据(repomd.xml)

我试图用yum运行更新命令:

yum update 

我收到以下信息:

 [root@commerce-dbs-tes-1 ~]# yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile * base: centos.brisanet.com.br * extras: centos.brisanet.com.br * updates: centos.brisanet.com.br https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-6-x86_64/repodata/repomd.xml: [Errno 14] Peer cert cannot be verified or peer cert invalid Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg94. Please verify its path and try again 

我知道有一个事实,有未决的更新,并一直工作,直到做到了:

 yum clean all 

我的系统是一个CentOS 6.7

请帮忙

由于以下原因,服务器无法validation/接受证书数据:

  1. 服务器date/时间无效
  2. 有MIM攻击 – 有人正在replacestream量/发出其他证书,这是无效/自签名
  3. 证书是无效的(不是当前的,我看到它是有效的,由可信任的CA签名)
  4. 系统上的CA证书已过期,请更新ca-certificates