Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux 服务器在通过 yum/dnf 进行更新时失败,并带有错误 `SSL certificate problem:CA certificate key too weak`

Solution In Progress - Updated -

Issue

  • 在使用 Red Hat Satellite Server 更新 Red Hat Enterprise Linux 服务器时失败,并显示以下错误消息。

    Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://satellite.example.com/pulp/repos/Default_Organization/Library/content/dist/layered/rhel8/x86_64/sat-tools/6.7/os/repodata/repomd.xml [SSL certificate problem: EE certificate key too weak]
    
  • 由于 SSL 证书问题,无法安装软件包。

  • 安装任何软件包时出现 SSL 证书问题:

    # yum install telnet
    Updating Subscription Management repositories.
    RHEL 8                                                                                                                                                                         0.0  B/s |   0  B     00:00    
    Errors during downloading metadata for repository 'TEST_repo-rhel-8-RHEL_8':
      - Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://test.example.com/pulp/content/TEST/production-rhel-8/cv-rhel-8/custom/repo-rhel-8/RHEL_8_TEST/repodata/repomd.xml [SSL certificate problem: CA certificate key too weak]
    Error: Failed to download metadata for repo 'TEST_repo-rhel-8-RHEL_8': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    

Environment

  • Red Hat Enterprise Linux 8
  • 以下任何项作为软件包的来源:
    • Red Hat Satellite 6.x
    • Red Hat CDN
    • 在线第三方软件仓库

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content