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 1554340 - katello-certs-check not checking for cert integrity/sanity
Summary: katello-certs-check not checking for cert integrity/sanity
Keywords:
Status: CLOSED DUPLICATE of bug 1488213
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Certificates
Version: 6.2.14
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-12 13:41 UTC by David Eddleman
Modified: 2024-02-28 20:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-04 17:33:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Eddleman 2018-03-12 13:41:16 UTC
Description of problem:
When using katello-certs-check to verify a correct certificate, key, and CA, a success message is given if there is no EOL/EOM in the end of the certificate file. Installing this cert will succeed, and the web console for Satellite will show a valid, passing cert, but the subsequently-generated katello-ca-consumer certificate RPM will have a script error that causes clients to not be able to register and existing clients will get SSL errors.

Version-Release number of selected component (if applicable):
6.2.14 on RHEL 7.4

How reproducible:
Install certificate with no EOL/EOM using satellite-installer --scenario satellite -c <cert> -k <key> -r <csr> -b <ca> --certs-update-server --certs-update-server-ca --certs-update-all 
(From https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html-single/installation_guide/index#configuring_satellite_server_with_custom_server_certificate)

Steps to Reproduce:
1. Generate CSR/key
2. Receive cert with no EOL/EOM (or modify cert to not have one)
3. Install cert with above command.

Actual results:
Cert passes validation checks with katello-certs-check and satellite-installer, and shows as valid in web console, but has script errors in the katello-ca-consumer RPM.

Expected results:
As above, but no errors in the RPM.

Additional info:
Script that generates RPM should have sanity checking for this. See RHN report: 02049269

Comment 4 Chris Roberts 2018-04-04 17:33:27 UTC

*** This bug has been marked as a duplicate of bug 1488213 ***


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