Is it possible to change Candlepin self-signed certificates on Satellite 6?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.x

Issue

  • I've managed to change the Red Hat Satellite WebUI Certificate to a internal/external signed certificate, but I want to change the Candlepin Self-signed certificates too, is that possible ?
  • We are receving the security alerts to remediate the self singed certificates being used for Candlepin.
  • SSL Certificates shows can not be trusted on ports 8443 Red Hat Satellite`
  • Red Hat Satellite server is using custom Signed Certificate, but Candlepin uses self-signed, how to change it to use custom cert?

Resolution

This far, is not possible to change the Candlepin certificates:

  • Candlepin is the component used to handle all information related to Subscriptions. All of these certificates are generated by Candlepin automatically.

  • One example of the usage, is the package "katello-ca-consumer-latest.noarch.rpm", that is used to instruct the clients to connect Red Hat Satellite Server instead of Red Hat Customer Portal, this package contains configuration files and certificates and sets the Satellite as a Root CA to trust.

  • So, the certificates used internally ( Satellite -> Clients ) are generated and signed by Red Hat Satellite as a Certificate Authority to grant access to Subscriptions.

For more KB articles/solutions related to Red Hat Satellite 6.x Candlepin Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Candlepin Issues

For more KB articles/solutions related to Red Hat Satellite 6.x SSL Certificates Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x SSL Certificates Issues

Root Cause

  • Red Hat Engineering team is already aware of this bug and is currently tracking the same in

Diagnostic Steps

  • In candlepin.conf candlepin.ca_cert parameters points towards the /etc/candlepin/certs/candlepin-ca.crt which is a default certificate generated and self-signed by satellite-installer.

        # cat /etc/candlepin/candlepin.conf |grep -iE "_cert|_key"
        candlepin.ca_key=/etc/candlepin/certs/candlepin-ca.key
        candlepin.ca_cert=/etc/candlepin/certs/candlepin-ca.crt
    
    
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.