yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker

前端 未结 21 954
一生所求
一生所求 2020-12-22 18:00

I\'m trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error:

Loaded plugins: fast

21条回答
  •  感情败类
    2020-12-22 18:32

    I encountered the same issue even though the ca-certificates package is up-to-date. The mirror https://mirrors.fedoraproject.org/ is currently signed by DigiCert High Assurance EV Root CA which is included in my ca-bundle

    $ grep -A 3 "DigiCert High" /etc/ssl/certs/ca-bundle.crt 
    # DigiCert High Assurance EV Root CA
    -----BEGIN CERTIFICATE-----
    MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    

    The reason why https connections failed in my case, was that system date was set to the year 2002 in which the DigiCert High Assurance EV Root CA is not (yet) valid.

    $ date
    Di 1. Jan 11:10:35 CET 2002
    

    Changing the system time fixed the issue.

提交回复
热议问题