Bug 232135 - Satellite Certificate getting escaped causing Parsing errors
Satellite Certificate getting escaped causing Parsing errors
Status: CLOSED CURRENTRELEASE
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Web Site (Show other bugs)
rhn500
All Linux
medium Severity medium
: ---
: ---
Assigned To: Partha Aji
wes hayutin
https://fjs-0-12.rhndev.redhat.com/rh...
:
Depends On:
Blocks: 173427
  Show dependency treegraph
 
Reported: 2007-03-13 18:25 EDT by Partha Aji
Modified: 2007-06-25 23:04 EDT (History)
2 users (show)

See Also:
Fixed In Version: sat500
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-25 23:04:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Partha Aji 2007-03-13 18:25:15 EDT
Description of problem:
If you copy paste a satellite certificate into CertificateConfig you will always
end up getting Certificate Parse exception even for valid satellite  certificates...


Version-Release number of selected component (if applicable):
rhn500 satellite

How reproducible: Always


Steps to Reproduce:
1. Install a satellite 
2. Go to the admin url and Login as admin
3. Select Satellite Tools -> Satellite Configuration -> Certificate
4. Copy the contents of a cert from
http://svn.rhndev.redhat.com/viewcvs/trunk/pm/satellite-certs/satellite-5.0/
and paste it at the text area next to "Certificate Text: *"

Actual results:
Error ->"Could not parse certificate file" with the xml contents escaped, ie
"<xml version>" appears as "xml version" no <, >

Expected results:
Certificate Parsed successfully.


Additional info:

This is related to the fact that we scrub <,>, fields by default to prevent
cross site scripting.. In this case that won't be an issue because the sat cert
content has to be in a specific format for this to function..
Comment 1 Partha Aji 2007-04-20 15:49:38 EDT
This has been resolved for a while now..
Comment 2 wes hayutin 2007-04-23 13:02:19 EDT
Certificate uploaded. Satellite has been re-activated.
verified
Comment 3 Mike McCune 2007-06-18 18:15:48 EDT
works fine in stage.
Comment 4 Brandon Perkins 2007-06-25 23:04:12 EDT
Closed for Satellite 500 Release.

Note You need to log in before you can comment on or make changes to this bug.