2.6.2.2. Deploying a Custom SSL Certificate to Capsule Server
Use this procedure to configure your Capsule Server with a custom SSL certificate signed by a Certificate Authority. The satellite-installer
command, which the capsule-certs-generate
command returns, is unique to each Capsule Server. Do not use the same command on more than one Capsule Server.
Prerequisites
Before configuring Capsule Server with a custom server certificate, ensure that your Satellite and Capsules meet the following conditions:
- Satellite Server is configured with a custom certificate. For more information, see Configuring Satellite Server with a Custom SSL Certificate in Installing Satellite Server from a Connected Network.
- 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 your Capsule Server with a custom SSL certificate, complete the following steps:
On Satellite Server, validate the custom SSL certificate input files:
katello-certs-check \ -c /root/capsule_cert/capsule_cert.pem \ -k /root/capsule_cert/capsule_cert_key.pem \ -b /root/capsule_cert/ca_cert_bundle.pem
# katello-certs-check \ -c /root/capsule_cert/capsule_cert.pem \
1 -k /root/capsule_cert/capsule_cert_key.pem \
2 -b /root/capsule_cert/ca_cert_bundle.pem
3 Copy to Clipboard Copied! Toggle word wrap Toggle overflow If you set a wildcard value
*
for the certificate’s Common NameCN =
in the/root/capsule_cert/openssl.cnf
configuration file, you must add the-t capsule
option to thekatello-certs-check
command.If the command is successful, it returns two
capsule-certs-generate
commands, one of which you must use to generate the certificate archive file for your Capsule Server.Example output of
katello-certs-check
Copy to Clipboard Copied! Toggle word wrap Toggle overflow On Satellite Server, from the output of the
katello-certs-check
command, depending on your requirements, enter thecapsule-certs-generate
command that generates a certificate for a new or existing Capsule.In this command, change
$CAPSULE
to the FQDN of your Capsule Server.Retain a copy of the
satellite-installer
command that thecapsule-certs-generate
command returns for deploying the certificate to your Capsule Server.Example output of
capsule-certs-generate
Copy 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.tar
Copy to Clipboard Copied! Toggle word wrap Toggle overflow On Capsule Server, to deploy the certificate, enter the
satellite-installer
command that thecapsule-certs-generate
command returns.When network connections or ports to Satellite are not yet open, you can set the
--foreman-proxy-register-in-foreman
option tofalse
to prevent Capsule from attempting to connect to Satellite and reporting errors. Run the installer again with this option set totrue
when 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.