RPM-based installations
To renew or change SSL/TLS certificates for RPM-based installations, you can edit the inventory file and run the installation program. The installation program verifies that all Ansible Automation Platform components are working.
Alternatively, you can change the SSL/TLS certificates manually. This is quicker, but there is no automatic verification.
Red Hat recommends that you use the installation program to make changes to your Ansible Automation Platform deployment.
Renewing the self-signed SSL/TLS certificates Copy linkLink copied!
The following steps regenerate new SSL/TLS certificates for all Ansible Automation Platform components.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- Validate the CA file and certificate file on Event-Driven Ansible controller:
openssl verify -CAfile ansible-automation-platform-managed-ca-cert.crt /etc/ansible-automation-platform/eda/server.cert openssl s_client -connect <EDA_FQDN>:443 - Validate the CA file and certificate file on platform gateway:
openssl verify -CAfile ansible-automation-platform-managed-ca-cert.crt /etc/ansible-automation-platform/gateway/gateway.cert openssl s_client -connect <GATEWAY_FQDN>:443 - Validate the CA file and certificate file on automation hub:
openssl verify -CAfile ansible-automation-platform-managed-ca-cert.crt /etc/pulp/certs/pulp_webserver.crt openssl s_client -connect <HUB_FQDN>:443 - Validate the CA file and certificate file on automation controller:
openssl verify -CAfile ansible-automation-platform-managed-ca-cert.crt /etc/tower/tower.cert openssl s_client -connect <CONTROLLER_FQDN>:443
Change SSL/TLS certificates and keys using the installation program Copy linkLink copied!
The following procedure describes how to change the SSL/TLS certificate and key in the inventory file.
Before you begin Copy linkLink copied!
- The certificates must be in PEM format.
- If there is an intermediate certificate authority, you must append it to the server certificate.
- Use the correct order for the certificates: The server certificate comes first, followed by the intermediate certificate authority.
For further information, see the ssl certificate section of the NGINX documentation.
Procedure Copy linkLink copied!
Change SSL/TLS certificates and keys manually Copy linkLink copied!
The following procedure describes how to change SSL/TLS certificates and keys manually for all Ansible Automation Platform components.