| Summary: | 'SSLCertificateVerifyFailedError' object has no attribute 'errmsg' in case the server's SSL certificate validation failed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Milan Zázrivec <mzazrivec> |
| Component: | rhn-client-tools | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED ERRATA | QA Contact: | Jiří Mikulka <jmikulka> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | jalviso, jmikulka, jpazdziora, msuchy |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhn-client-tools-1.0.0-78.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 11:59:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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. *** Bug 745008 has been marked as a duplicate of this bug. *** This was fixed in bug 759786. Leaving this open as just another use case to test. spacewalk.git commit 9b28ded9de35b00d05457c877b8e8bb9d68a37de cherry-picked to satellite.git as 5f578220fcbf0cd5ab010eca9166e91c2c68f047 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 (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? What rhn-client-tools version is this? (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