Bug 508912

Summary: Error message when client has invalid SSL certificate is not very useful
Product: [Community] Spacewalk Reporter: Jessica Jones <fedora>
Component: ClientsAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: cperry, jpazdziora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 09:43:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 582354    

Description Jessica Jones 2009-06-30 14:01:01 UTC
Description of problem:
If you run rhn_register on a client with the wrong SSL certificate in place, then the error message that it gives is not helpful:  It says that an unknown error has occurred, and to contact support.  It takes the support guys a while to work out what the problem actually is without this helpful diagnosis.

Version-Release number of selected component (if applicable):
This particular one came from the Spacewalk 0.5 yum repo for FC10, installed on a newly installed, basic FC10 desktop with no custom/extra packages.

How reproducible:
Very - happens every time.

Steps to Reproduce:
1. Run rhn_register on a machine with the wrong RHN-ORG-TRUSTED-SSL-CERT in place
2. Go through the steps until a box pops up with the verbose but not very useful error message.

Comment 1 Jan Pazdziora (Red Hat) 2010-05-05 09:38:04 UTC
Taking.

Comment 2 Jan Pazdziora (Red Hat) 2010-05-05 09:43:56 UTC
I assume that we are talking about the text rhn_register, as the graphical one will show a "Provide a security certificate" page.

In the TUI rhn_register from

# rpm -qf /usr/sbin/rhn_register
rhn-setup-0.4.20-33.el5_5.1

the popup says

            │    ┌──────────────┤ Fatal Error ├──────────────┐   ▒ │            
            │    │                                           │   ▒ │            
            │    │ The SSL certificate failed verification.  │   ▒ │            
            │    │                                           │   ▒ │            
            │    │                  ┌────┐                   │   ▒ │            
            │    │                  │ OK │                   │   ▒ │            
            │    │                  └────┘                   │   ▒ │            
            │    │                                           │   ▒ │            
            │    │                                           │   ▒ │            
            │    └───────────────────────────────────────────┘   ▒ │            

now. Therefore, I'm closing this as CURRENTRELEASE.

Please reopen with exact version information of the problem persists.

Thank you,

Jan