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.pem3 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.cnfconfiguration file, you must add the-t capsuleoption to thekatello-certs-checkcommand.If the command is successful, it returns two
capsule-certs-generatecommands, one of which you must use to generate the certificate archive file for your Capsule Server.Example output of
katello-certs-checkCopy to Clipboard Copied! Toggle word wrap Toggle overflow On Satellite Server, from the output of the
katello-certs-checkcommand, depending on your requirements, enter thecapsule-certs-generatecommand that generates a certificate for a new or existing Capsule.In this command, change
$CAPSULEto the FQDN of your Capsule Server.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.