RHN にシステムを接続しようとすると "The certificate is expired" または "certificate verify failed" エラーが発生する

Solution Verified - Updated -

Issue

  • yum を使用したり、RHN でシステムを登録したりする時に、RHEL 5 を実行するシステムで以下のエラーが発生します。

    "The certificate is expired.Please ensure you have the correct certificate and you system time is correct."
    
  • rhn-virtualization-host の cron ジョブが、以下のメッセージを生成します。

    up2date_client.up2dateErrors.SSLCertificateVerifyFailedError:The certificate is expired.Please ensure you have the correct certificate and your system time is correct.
    
  • 以下のようなエラーで rhn_check に失敗します。

    [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
    
  • ssl certificate failed verification メッセージがログに 2 秒ごとに表示されます。

  • 以下のエラーが発生するため、yum でソフトウェアパッケージをインストールまたはアップデートできません。

    up2date_client.up2dateErrors.SSLCertificateVerifyFailedError:The certificate is expired.Please ensure you have the correct certificate and your system time is correct.
    
  • rhn_register が失敗し、以下のエラーが発生しました。

    rhn_register ERROR: can not find RHNS CA file:/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
    The certificate /usr/share/rhn/RHNS-CA-CERT is expired.Please ensure you have the correct certificate and your system time is correct.
    

Environment

  • Red Hat Enterprise Linux (RHEL) 5.4 以前
  • Red Hat Network (RHN) Classic
  • 0.4.19-17.el5_3.1 以前のバージョンの rhn-client-tools (RHEL5.3 Advanced mission critical のみ)
  • 0.4.20-33.el5 以前のバージョンの rhn-client-tools (RHEL5)
  • 4.9.1-30.el4 以前のバージョンの up2date (RHEL4)
  • 4.5.5-18.el3 以前のバージョンの up2date (RHEL3)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.