| Summary: | 4.5.2. Configuring Capsule Server with a Custom Server Certificate needs correction | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Rick Dixon <rdixon> |
| Component: | Docs Install Guide | Assignee: | Russell Dickenson <rdickens> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brandi Munilla <bmcelvee> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | rdickens, rdixon |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 04:54:03 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: | |
|
Description
Rick Dixon
2016-08-18 21:02:34 UTC
Hi Russell,
When I look at attachment [2] in the linked comment, under "Configure Capsule with a Custom Server Certificate After Running Foreman Installer," it still looks as though the command issues for generating the certificate bundle from the Satellite server is:
# foreman-installer --scenario capsule\
--certs-generate \
[...SNIP...]
It should be:
# capsule-certs-generate
--capsule-fqdn "mycapsule.example.com"\
--certs-tar "~/mycapsule.example.com-certs.tar"\
--server-cert /path/to/server.crt\
--server-cert-req /path/to/server-cert.req\
--server-key /path/to/server.key\
--server-ca-cert /path/to/server-ca.crt
Once this bundle is copied to the Capsule, the command to install it and update all of the certificates (which you would want to do if the installer has already been run once) is:
# satellite-installer --scenario capsule\
--certs-update-server\
--capsule-parent-fqdn "satellite.example.com"\
--foreman-proxy-register-in-foreman "true"\
--foreman-proxy-foreman-base-url "https://satellite.example.com"\
--foreman-proxy-trusted-hosts "satellite.example.com"\
--foreman-proxy-trusted-hosts "capsule.example.com"\
--foreman-proxy-oauth-consumer-key "gDv6mMrsfefp5QmimiAspfzfwsvCctBm"\
--foreman-proxy-oauth-consumer-secret "Sh4d7K2v7Dk2VphMPTtZYRviFJ3tY5oY"\
--capsule-pulp-oauth-secret "ABsqCFsFCoxdSHmHTvMq9sfaN5zZcR8n"\
--capsule-certs-tar "~/capsule.example.com-certs.tar" \
|