Feature #16911
closedkatello-installer certificate options should not require --certs-server-cert-req
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1233431
I'm running through an install of Satellite 6.0.4 with IdM on RHEL 7.1 to set up external auth. All of that is working fine, but I also want to use a certificate from IdM for the web UI by passing it in at install time. According to the documentation, I need to use the following options:
--certs-server-cert ~/path/to/server.crt\
--certs-server-cert-req ~/path/to/server.crt.req\
--certs-server-key ~/path/to/server.crt.key\
--certs-server-ca-cert ~/path/to/cacert.crt
The certificate request should not be needed, as a certificate has already been issued. If we already have an issued certificate, we should just need the key and server certificate along with the CA certificate for trust purposes. If I use 'ipa-getcert' to request and retrieve a certificate from IdM, I only get back the key and cert:
ipa-getcert request -w -k ./satellite.key -f ./satellite.crt
There is no provision to output the raw CSR from any of the certmonger related commands. I can dig it out of certmonger's request tracking file in /var/lib/certmonger/requests, but that's not very friendly.
I have been able to pass a zero-byte file as the --certs-server-cert-req option as a workaround, and https is set up properly using the passed in cert/key. I think the request option should be deprecated, or at least made optional if there is really some purpose to giving the request to Satellite.
Updated by Justin Sherrill almost 10 years ago
- Subject changed from katello-installer certificate options should not require --certs-server-cert-req to katello-installer certificate options should not require --certs-server-cert-req
- Translation missing: en.field_release set to 114
Updated by Brad Buckingham over 9 years ago
- Status changed from New to Assigned
- Pull request https://github.com/Katello/puppet-certs/pull/126 added
Updated by The Foreman Bot about 9 years ago
- Status changed from Assigned to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/Katello/puppet-certs/pull/172 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset puppet-certs|5089bb3de3ac63339c90b64b0fda726340f04ced.
Updated by Chris Roberts over 8 years ago
- Copied to Feature #23766: katello-installer certificate options should not require --certs-server-cert-req added