Translated message

A translation of this page exists in English.

RHN に登録しようとすると SSL 証明書の認証に失敗する

Solution Verified - Updated -

Issue

  • システムを Satellite に登録していましたが、RHN に登録する必要があります。
  • https から RHN にシステムを登録すると、SSL 証明書の認証に失敗します。
  • クライアントを登録しようとすると /var/log/up2date ファイルにエラーが出力されます。
[Mon Aug  5 10:30:56 2013] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 219, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 84, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 89, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 249, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 160, in __get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 68, in __call__
    raise up2dateErrors.SSLCertificateVerifyFailedError()
<class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError'>:The SSL certificate failed verification.
  • システムを登録してから rhn_check を実行すると以下のエラーが発生します。
# rhn_check -vvv:
...
ERROR:SSL errors detected
[('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
...
  • RHN に RHEL 6.4 システムを登録すると以下のエラーが発生します。
Traceback (most recent call last):
       File "/usr/share/rhn/virtualization/poller.py", line 308, in ?
         _send_notifications(cached_state)
       File "/usr/share/rhn/virtualization/poller.py", line 251, in
    _send_notifications
         plan.execute()
       File "/usr/share/rhn/virtualization/notification.py", line 76, in
    execute
         server.registration.virt_notify(systemid, self.__items)
       File "/usr/share/rhn/up2date_client/rhnserver.py", line 64, in __call__
         raise up2dateErrors.SSLCertificateVerifyFailedError()
    up2date_client.up2dateErrors.SSLCertificateVerifyFailedError:The
    certificate is expired.Please ensure you have the correct certificate and
    your system time is correct.

Environment

  • Red Hat Enterprise Linux 6 以降

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