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.
Description of problem:
When using custom certs, and running the installer to enable a feature or anything, it re-runs katello-certs-check to verify certs and the output is visible on the shell, confusing the user:
foreman-installer
2022-04-08 07:46:31 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-04-08 07:46:38 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-04-08 07:46:38 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
Package versions are locked. Continuing with unlock.
Executing: katello-certs-check -c "/root/satellite_cert/satellite_cert.pem" -k "/root/satellite_cert/satellite_cert_key.pem" -b "/root/satellite_cert/ca_cert_bundle.pem"
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Checking server certificate encoding: [OK]
Checking expiration of certificate: [OK]
Checking expiration of CA bundle: [OK]
Checking if server certificate has CA:TRUE flag [OK]
Checking for private key passphrase: [OK]
Checking to see if the private key matches the certificate: [OK]
Checking CA bundle against the certificate file: [OK]
Checking CA bundle size: 3
[OK]
Checking Subject Alt Name on certificate [OK]
Checking if any Subject Alt Name on certificate matches the Subject CN
[OK]
Checking Key Usage extension on certificate for Key Encipherment [OK]
Checking for use of shortname as CN
[OK]
Validation succeeded
To install the Red Hat Satellite server with the custom certificates, run:
satellite-installer --scenario satellite \
--certs-server-cert "/root/satellite_cert/satellite_cert.pem" \
--certs-server-key "/root/satellite_cert/satellite_cert_key.pem" \
--certs-server-ca-cert "/root/satellite_cert/ca_cert_bundle.pem"
To update the certificates on a currently running Red Hat Satellite installation, run:
satellite-installer --scenario satellite \
--certs-server-cert "/root/satellite_cert/satellite_cert.pem" \
--certs-server-key "/root/satellite_cert/satellite_cert_key.pem" \
--certs-server-ca-cert "/root/satellite_cert/ca_cert_bundle.pem" \
--certs-update-server --certs-update-server-ca
To use them inside a NEW $CAPSULE, rerun this command with -t capsule
2022-04-08 07:46:53 [NOTICE] [configure] Starting system configuration.
…
Version-Release number of selected component (if applicable):
foreman-installer-3.1.2.1-1.el8sat.noarch
foreman-installer-katello-3.1.2.1-1.el8sat.noarch
satellite-installer-6.11.0.5-1.el8sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. install with certs
2. call installer again
Actual results:
certs-check output as above
Expected results:
silence
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2022:8506
Description of problem: When using custom certs, and running the installer to enable a feature or anything, it re-runs katello-certs-check to verify certs and the output is visible on the shell, confusing the user: foreman-installer 2022-04-08 07:46:31 [NOTICE] [root] Loading installer configuration. This will take some time. 2022-04-08 07:46:38 [NOTICE] [root] Running installer with log based terminal output at level NOTICE. 2022-04-08 07:46:38 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions. Package versions are locked. Continuing with unlock. Executing: katello-certs-check -c "/root/satellite_cert/satellite_cert.pem" -k "/root/satellite_cert/satellite_cert_key.pem" -b "/root/satellite_cert/ca_cert_bundle.pem" tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Checking server certificate encoding: [OK] Checking expiration of certificate: [OK] Checking expiration of CA bundle: [OK] Checking if server certificate has CA:TRUE flag [OK] Checking for private key passphrase: [OK] Checking to see if the private key matches the certificate: [OK] Checking CA bundle against the certificate file: [OK] Checking CA bundle size: 3 [OK] Checking Subject Alt Name on certificate [OK] Checking if any Subject Alt Name on certificate matches the Subject CN [OK] Checking Key Usage extension on certificate for Key Encipherment [OK] Checking for use of shortname as CN [OK] Validation succeeded To install the Red Hat Satellite server with the custom certificates, run: satellite-installer --scenario satellite \ --certs-server-cert "/root/satellite_cert/satellite_cert.pem" \ --certs-server-key "/root/satellite_cert/satellite_cert_key.pem" \ --certs-server-ca-cert "/root/satellite_cert/ca_cert_bundle.pem" To update the certificates on a currently running Red Hat Satellite installation, run: satellite-installer --scenario satellite \ --certs-server-cert "/root/satellite_cert/satellite_cert.pem" \ --certs-server-key "/root/satellite_cert/satellite_cert_key.pem" \ --certs-server-ca-cert "/root/satellite_cert/ca_cert_bundle.pem" \ --certs-update-server --certs-update-server-ca To use them inside a NEW $CAPSULE, rerun this command with -t capsule 2022-04-08 07:46:53 [NOTICE] [configure] Starting system configuration. … Version-Release number of selected component (if applicable): foreman-installer-3.1.2.1-1.el8sat.noarch foreman-installer-katello-3.1.2.1-1.el8sat.noarch satellite-installer-6.11.0.5-1.el8sat.noarch How reproducible: 100% Steps to Reproduce: 1. install with certs 2. call installer again Actual results: certs-check output as above Expected results: silence Additional info: