Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1446614

Summary: SSL web server configuration becomes incorrect after configuring custom server certificate
Product: Red Hat Satellite Reporter: Miguel Martin <mmartinv>
Component: CertificatesAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.7CC: jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-31 01:10:41 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:

Description Miguel Martin 2017-04-28 12:29:29 UTC
Description of problem:

After the installation of a custom server certificate, the new certificate CA chain is stored in "/etc/pki/katello/certs/katello-server-ca.crt"
but the webserver configuration is not updated and still pointing to "/etc/pki/katello/certs/katello-default-ca.crt".

I think the best option here would be changing the default satellite configuration to point always to /etc/pki/katello/certs/katello-server-ca.crt because it would be valid in both cases:
- With the default installation katello-server-ca.crt contains default CA
- With the custom certificate installation katello-server-ca.crt contains the new CA chain.


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

How reproducible:
Always

Steps to Reproduce:
1. Install Satellite with default self-signed certificate configuration
2. Follow the documentation [1] to configure custom server certificate

Actual results:

New certificate chain file not updated in webserver config:

  SSLCertificateChainFile "/etc/pki/katello/certs/katello-default-ca.crt"

Expected results:

New certificate chain file updated in webserver config:

  SSLCertificateChainFile "/etc/pki/katello/certs/katello-server-ca.crt"

Additional info:

[1] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/installation_guide/installing_satellite_server#configuring_satellite_server_with_custom_server_certificate

Comment 3 Eric Helms 2018-05-31 01:10:41 UTC
As of 6.3, the Apache configuration reflects the request of this bug with the following being the configuration:

  SSLCertificateChainFile "/etc/pki/katello/certs/katello-server-ca.crt"


Thus, I am closing this BZ as current release.