Why rhn_register fails with error "SSLCertificateVerifyFailedError instance has no attribute 'errmsg'"?

Solution Unverified - Updated -

Issue

  • The rhn_register command fails with error:
File "/usr/sbin/rhn_register", line 82, in ?
    app.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 66, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn_register", line 64, in main
    ui.main()
  File "/usr/share/rhn/up2date_client/tui.py", line 1753, in main
    tui.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 1645, in run
    result = win.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 127, in run
    tui_call_wrapper(self.screen, rhnreg.getCaps)
  File "/usr/share/rhn/up2date_client/tui.py", line 70, in tui_call_wrapper
    FatalErrorWindow(screen, e.errmsg)
exceptions.AttributeError: SSLCertificateVerifyFailedError instance has no attribute 'errmsg'

Environment

  • Red Hat Enterprise Linux 5 with rhn-client-tools-0.4.20-77.el5 or older package installed.
  • Red Hat Enterprise Linux 6 with rhn-client-tools-1.0.0-61.el6 or older package installed.
  • Red Hat Network(RHN) Classic
  • Red Hat Network(RHN) Satellite

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.