Satellite 6 Custom SSL certificate not used by crane and foreman

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.
  • Custom SSL certificate with certificate chain

Issue

  • In Red Hat Satellite 6, Custom SSL certificates are not used by crane and foreman.

Resolution

This is expected behaviour. There are two sets of certificates used by satellite server for communication.

  1. The first set is used by satellite server for the WebUI and foreman components.
  2. The second set is used for communication between Satellite/Capsule server and its client and it can be only regenerated using katello-installer, but it cannot be replaced by custom certificates the same way the WebUI certificates can.

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

Diagnostic Steps

  • In /etc/httpd/conf.d/03-crane.conf and /etc/httpd/conf.d/05-foreman-ssl.conf files, SSLCertificateChainFile and SSLCACertificateFile parameters points towards the /etc/pki/katello/certs/katello-default-ca.crt which is a default certificate genrated and self-signed by katello-installer.

  • In file /etc/httpd/conf.d/03-crane.conf -

      SSLCertificateChainFile "/etc/pki/katello/certs/katello-default-ca.crt"
      SSLCACertificatePath    "/etc/pki/tls/certs"
      SSLCACertificateFile    "/etc/pki/katello/certs/katello-default-ca.crt"
    
  • In file /etc/httpd/conf.d/05-foreman-ssl.conf -

      SSLCertificateChainFile "/etc/pki/katello/certs/katello-default-ca.crt"
      SSLCACertificatePath    "/etc/pki/tls/certs"
      SSLCACertificateFile    "/etc/pki/katello/certs/katello-default-ca.crt"
    
SBR
Product(s)
Components

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.