2.6. Configuring Capsule Server with SSL Certificates
Red Hat Satellite uses SSL certificates to enable encrypted communications between Satellite Server, external Capsule Servers, and all hosts. Depending on the requirements of your organization, you must configure your Capsule Server with a default or custom certificate.
- If you use a default SSL certificate, you must also configure each external Capsule Server with a distinct default SSL certificate. For more information, see 「Configuring Capsule Server with a Default SSL Certificate」.
- If you use a custom SSL certificate, you must also configure each external Capsule Server with a distinct custom SSL certificate. For more information, see 「Configuring Capsule Server with a Custom SSL Certificate」.
2.6.1. Configuring Capsule Server with a Default SSL Certificate リンクのコピーリンクがクリップボードにコピーされました!
Use this section to configure Capsule Server with an SSL certificate that is signed by the Satellite Server default Certificate Authority (CA).
Prerequisites
Before configuring Capsule Server with a default server certificate, ensure that your Capsule Server meets the following conditions:
- Capsule Server is registered to Satellite Server. For more information, see 「Registering to Satellite Server」.
- The Capsule Server packages are installed. For more information, see 「Installing Capsule Server Packages」.
Procedure
To configure Capsule Server with a default server certificate, complete the following steps:
On Satellite Server, to store all the source certificate files for your Capsule Server, create a directory that is accessible only to the
rootuser, for example/root/capsule_cert:mkdir /root/capsule_cert
# mkdir /root/capsule_certCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Satellite Server, generate the
/root/capsule_cert/capsule_certs.tarcertificate archive for your Capsule Server:capsule-certs-generate \ --foreman-proxy-fqdn capsule.example.com \ --certs-tar /root/capsule_cert/capsule_certs.tar
# capsule-certs-generate \ --foreman-proxy-fqdn capsule.example.com \ --certs-tar /root/capsule_cert/capsule_certs.tarCopy to Clipboard Copied! Toggle word wrap Toggle overflow Retain a copy of the
satellite-installercommand that thecapsule-certs-generatecommand returns for deploying the certificate to your Capsule Server.Example output of
capsule-certs-generateCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Satellite Server, copy the certificate archive file to your Capsule Server:
scp /root/capsule_cert/capsule.example.com-certs.tar \ root@capsule.example.com:/root/capsule.example.com-certs.tar
# scp /root/capsule_cert/capsule.example.com-certs.tar \ root@capsule.example.com:/root/capsule.example.com-certs.tarCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Capsule Server, to deploy the certificate, enter the
satellite-installercommand that thecapsule-certs-generatecommand returns.When network connections or ports to Satellite are not yet open, you can set the
--foreman-proxy-register-in-foremanoption tofalseto prevent Capsule from attempting to connect to Satellite and reporting errors. Run the installer again with this option set totruewhen the network and firewalls are correctly configured.重要Do not delete the certificate archive file after you deploy the certificate. It is required, for example, when upgrading Capsule Server.