Why rhn_register command fails with "'SSLCertificateVerifyFailedError' object hass no attribute 'errmsg'" error traceback?

Solution Unverified - Updated -

Issue

  • rhn_register command resulted in following traceback error:
[user@examle.com]# rhn_register
Traceback (most recent call last):
  File "/usr/sbin/rhn_register", line 76, in <module>
    app.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 74, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn_register", line 58, in main
    ui.main()
  File "/usr/share/rhn/up2date_client/tui.py", line 1272, in main
    tui.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 1230, in run
    result = win.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 235, in run
    tui_call_wrapper(self.screen, rhnreg.getCaps)
  File "/usr/share/rhn/up2date_client/tui.py", line 85, in tui_call_wrapper
    FatalErrorWindow(screen, e.errmsg)
<type 'exceptions.AttributeError'>: 'SSLCertificateVerifyFailedError' object has no attribute 'errmsg'

Environment

  • Red Hat Enterprise Linux v 6
  • rhn_register

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