Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
In case client is setup to use SSL for server connection and server's
SSL certificate validation failed (for whatever reason), following traceback
is printed into /var/log/up2date:
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'
Note the following two lines in there:
FatalErrorWindow(screen, e.errmsg)
and
<type 'exceptions.AttributeError'>: 'SSLCertificateVerifyFailedError' object has no attribute 'errmsg'
Version-Release number of selected component (if applicable):
rhn-client-tools-1.0.0-61.el6
How reproducible:
Always
Steps to Reproduce:
1. Client -> Server connection using SSL, simulate failure of SSL validation
(point the client to an incorrect CA certificate for example)
2. Run rhn_register
3. Watch /var/log/up2date
Actual results:
Traceback above.
Expected results:
Error message about SSL validation, but no traceback telling us we called
a non-existent attribute.
Additional info:
N/A
Comment 1RHEL Program Management
2011-10-07 16:04:20 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
Comment 2Jan Pazdziora (Red Hat)
2011-11-24 13:47:23 UTC
*** Bug 745008 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2012-0752.html
Comment 14Jan Pazdziora (Red Hat)
2012-11-07 06:53:45 UTC
(In reply to comment #13)
>
> Is this errata fix applicable to RHEL 5 systems?
I don't remember this issue ever being present on RHEL 5 systems. Do you have a customer case to suggest otherwise?
Comment 16Jan Pazdziora (Red Hat)
2012-11-07 07:18:56 UTC
What rhn-client-tools version is this?
Comment 18Jan Pazdziora (Red Hat)
2012-12-11 08:47:17 UTC
(In reply to comment #17)
>
> Sorry for the late reply. Customer installed:
>
> rhn-client-tools-0.4.20-77.el5.noarch
Good. That is the latest greatest for RHEL 5. If the problem persists for your customer, we will need new RHEL 5 bugzilla filed.
> Would this errata, http://rhn.redhat.com/errata/RHBA-2012-0752.html.
> applicable to Red Hat Enterprise Linux Client release 5.8?
No.
Description of problem: In case client is setup to use SSL for server connection and server's SSL certificate validation failed (for whatever reason), following traceback is printed into /var/log/up2date: 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' Note the following two lines in there: FatalErrorWindow(screen, e.errmsg) and <type 'exceptions.AttributeError'>: 'SSLCertificateVerifyFailedError' object has no attribute 'errmsg' Version-Release number of selected component (if applicable): rhn-client-tools-1.0.0-61.el6 How reproducible: Always Steps to Reproduce: 1. Client -> Server connection using SSL, simulate failure of SSL validation (point the client to an incorrect CA certificate for example) 2. Run rhn_register 3. Watch /var/log/up2date Actual results: Traceback above. Expected results: Error message about SSL validation, but no traceback telling us we called a non-existent attribute. Additional info: N/A