Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1180169

Summary: rhnpush unhandled exception, when ca_chain corrupted
Product: Red Hat Satellite 5 Reporter: Tomas Lestach <tlestach>
Component: ServerAssignee: Jan Dobes <jdobes>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-09 11:42:23 UTC Type: Bug
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: 1162131    

Description Tomas Lestach 2015-01-08 14:51:41 UTC
Description of problem:
rhnpush does not provide *any* error message, when there's a problem with SSL certificate.

Version-Release number of selected component (if applicable):
Satellite-5.7.0-RHEL6-re20141218.2

How reproducible:
always

Steps to Reproduce/Actual results:
1. (using https)

# grep ca_chain /etc/sysconfig/rhn/rhnpushrc 
ca_chain        =   /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT

# mv /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT{,.bck}
# touch /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT

# rhnpush -v /tmp/zsh/zsh-4.3.10-4.1.el6.x86_64.rpm
Connecting to https://localhost/APP

ERROR: unhandled exception occurred: ([]).

2. (using http)

# rhnpush -v /tmp/zsh/zsh-4.3.10-4.1.el6.x86_64.rpm --server=localhost
Connecting to http://localhost/APP
Username: admin
Password: 
Package /tmp/zsh/zsh-4.3.10-4.1.el6.x86_64.rpm Not Found on RHN Server -- Uploading
Uploading package /tmp/zsh/zsh-4.3.10-4.1.el6.x86_64.rpm
Using POST request

Expected results:
Notify the user about the real problem.

Comment 2 Tomas Lestach 2018-04-09 11:42:23 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. 

Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.