Bug 452275 - rhn-ssl-dbstore is not multi-org aware
rhn-ssl-dbstore is not multi-org aware
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Satellite Synchronization (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Pradeep Kilambi
wes hayutin
Depends On:
Blocks: 429319
  Show dependency treegraph
Reported: 2008-06-20 13:14 EDT by Clifford Perry
Modified: 2008-08-13 15:09 EDT (History)
0 users

See Also:
Fixed In Version: sat511
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-08-13 15:04:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Clifford Perry 2008-06-20 13:14:24 EDT
Description of problem:

While doing lab in Summit we regenerated the SSL Certs using rhn-ssl-tool and
inserted them into the DB using the rhn-ssl-dbstore. I noticed that the new
RHN-ORG-TRUSTED-SSL-CERT was only placed into Org 1, the cert was NOT added into
other ORGs. 

We need to fix rhn-ssl-dbstore. 

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Todd Sanders 2008-06-20 16:43:23 EDT
IMO, the SSL Certificate is a Satellite level entity.  We should change the
datamodel to use a single certificate across *all* orgs on the satellite vs
storing on a per org basis.

Comment 3 wes hayutin 2008-07-07 15:16:20 EDT
does this require a db-query to check? guess I'm looking for a testplan
Comment 4 Pradeep Kilambi 2008-07-09 09:58:28 EDT
Test Plan:

* Setup a multi org satellite with couple of orgs.

* make note of the ssl cert on the ui for all the orgs(should be the default one)

* Now create your own cert

* upload your cert with rhn-ssl-dbstore command.

* now check back the cert for each org in the ui, it should reflect the new cert
you uploaded in all the sub orgs.
Comment 5 wes hayutin 2008-07-11 15:03:55 EDT
k.. the cert was distributed to org=0 and two other orgs..
Public CA SSL certificate:  /tmp/RHN-ORG-TRUSTED-SSL-CERT
Database connection string: rhnsat/rhnsat@rhnsat
[root@rlx-3-06 tmp]# less RHN-ORG-TRUSTED-SSL-CERT 
[root@rlx-3-06 tmp]# 

checked in webui  systems/kickstart/gpg

Comment 6 Sayli Karmarkar 2008-07-22 16:51:16 EDT
Comment 7 Brandon Perkins 2008-08-13 15:04:19 EDT
5.1.1 Satellite is now GA, bugs Closed for Current Release.
Comment 8 Brandon Perkins 2008-08-13 15:09:20 EDT
5.1.1 Satellite is now GA, bugs Closed for Current Release.

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