|
| 1 | +:_mod-docs-content-type: PROCEDURE |
| 2 | + |
| 3 | +[id="renewing-a-custom-server-ca-certificate"] |
| 4 | += Renewing a custom server CA certificate |
| 5 | + |
| 6 | +[role="_abstract"] |
| 7 | +If you need to update the certification authority (CA) certificate that signed your {ProjectServer} and {SmartProxyServers} certificates, add the new CA certificate and use a temporary dual CA certificate file to retain the HTTPS connections to your {ProjectServer} during the renewal. |
| 8 | + |
| 9 | +.Procedure |
| 10 | +. Add the new SSL certificate to the CA certificate file on {ProjectServer} and keep the old SSL certificate. |
| 11 | ++ |
| 12 | +[options="nowrap", subs="+quotes,attributes"] |
| 13 | +---- |
| 14 | +# cat _/root/{project-context}_cert/old_ca_cert_bundle.pem_ _/root/{project-context}_cert/new_ca_cert_bundle.pem_ > _/root/{project-context}_cert/ca_cert_bundle.pem_ |
| 15 | +---- |
| 16 | +. Renew the certificates on {ProjectServer}. |
| 17 | ++ |
| 18 | +[options="nowrap" subs="+quotes,attributes"] |
| 19 | +ifdef::containerized[] |
| 20 | +---- |
| 21 | +# {foremanctl} deploy \ |
| 22 | +--certificate-source custom_server \ |
| 23 | +--certificate-server-certificate "_/root/{project-context}_cert/{project-context}_cert.pem_" \ |
| 24 | +--certificate-server-key "_/root/{project-context}_cert/{project-context}_cert_key.pem_" \ |
| 25 | +--certificate-server-ca-certificate "_/root/{project-context}_cert/ca_cert_bundle.pem_" |
| 26 | +---- |
| 27 | +endif::[] |
| 28 | +ifndef::containerized[] |
| 29 | +---- |
| 30 | +# {installer-scenario} \ |
| 31 | +--certs-server-cert "/root/_{project-context}_cert/{project-context}_cert.pem_" \ |
| 32 | +--certs-server-key "/root/_{project-context}_cert/{project-context}_cert_key.pem_" \ |
| 33 | +--certs-server-ca-cert "/root/_{project-context}_cert/ca_cert_bundle.pem_" \ |
| 34 | +--certs-update-server \ |
| 35 | +--certs-update-server-ca |
| 36 | +---- |
| 37 | +endif::[] |
| 38 | +. Renew the certificates on any {SmartProxyServers}. |
| 39 | +. Deploy the dual CA certificate on hosts. |
| 40 | +. Remove the old certificate from the CA certificates file on {ProjectServer}, so the CA certificate file contains only the new SSL certificate. |
| 41 | ++ |
| 42 | +[options="nowrap", subs="+quotes,attributes"] |
| 43 | +---- |
| 44 | +# cat _/root/{project-context}_cert/new_ca_cert_bundle.pem_ > _/root/{project-context}_cert/ca_cert_bundle.pem_ |
| 45 | +---- |
| 46 | +. Renew the certificates on {ProjectServer} and any {SmartProxyServers}. |
| 47 | ++ |
| 48 | +[options="nowrap" subs="+quotes,attributes"] |
| 49 | +ifdef::containerized[] |
| 50 | +---- |
| 51 | +# {foremanctl} deploy \ |
| 52 | +--certificate-source custom_server \ |
| 53 | +--certificate-server-certificate "_/root/{project-context}_cert/{project-context}_cert.pem_" \ |
| 54 | +--certificate-server-key "_/root/{project-context}_cert/{project-context}_cert_key.pem_" \ |
| 55 | +--certificate-server-ca-certificate "_/root/{project-context}_cert/ca_cert_bundle.pem_" |
| 56 | +---- |
| 57 | +endif::[] |
| 58 | +ifndef::containerized[] |
| 59 | +---- |
| 60 | +# {installer-scenario} \ |
| 61 | +--certs-server-cert "/root/_{project-context}_cert/{project-context}_cert.pem_" \ |
| 62 | +--certs-server-key "/root/_{project-context}_cert/{project-context}_cert_key.pem_" \ |
| 63 | +--certs-server-ca-cert "/root/_{project-context}_cert/ca_cert_bundle.pem_" \ |
| 64 | +--certs-update-server \ |
| 65 | +--certs-update-server-ca |
| 66 | +---- |
| 67 | +endif::[] |
| 68 | +. Deploy the new CA certificate on hosts. |
| 69 | + |
| 70 | +.Additional resources |
| 71 | +* {ManagingHostsDocURL}refreshing-the-self-signed-ca-certificate-on-hosts[Refreshing the self-signed CA certificate on hosts in _{ManagingHostsDocTitle}_] |
0 commit comments