This topic provides an overview of how you can rotate certificate authorities (CAs) and leaf certificates in VMware Tanzu Operations Manager.
The Tanzu Operations Manager API manages and lists internal CAs and leaf certificates that enable Tanzu Operations Manager components to communicate with each other securely using TLS. It can also list certificates used externally, such as SAML certificates that authenticate to an external identity provider (IDP).
For more information about the CAs and leaf certificates visible to the Tanzu Operations Manager API, see Certificate types.
Rotate CAs and leaf certificates before they expire to avoid downtime for your deployment. To rotate certificates in Tanzu Operations Manager, first check the expiration dates of all certificates. Then, based on the types of certificates that expire soon, follow a certificate rotation procedure to replace expiring certificates and deploy BOSH to apply changes.
When possible, the Tanzu Operations Manager API invokes CredHub Maestro to rotate certificates. You may encounter CredHub Maestro safety violation errors if you attempt to perform an unsafe operation, such as running a rotation step out of order. For more information about troubleshooting these errors, see Troubleshooting CredHub Maestro Safety Violations During Certificate Rotation.
You can set a value to override the duration for certificates within the BOSH Director tile. VMware recommends that you set the value before starting a certificate rotation. For more information, see Overriding duration for certificates.
Before determining which certificate rotation procedure to follow, you must determine:
To check the types and expiration dates of your certificates, see Checking Expiration Dates and Certificate Types.
If customer provided CAs exist in your deployment, you must do an additional procedure to successfully rotate. To see if you have customer-provided CAs and rotate them successfully, see Rotating Certificates with Customer-Provided CAs.
The topics listed in this section explain how to rotate certificates in Tanzu Operations Manager, including the Tanzu Operations Manager root CA, BOSH NATS CA, CAs stored in CredHub, and leaf certificates. There are different rotation procedures for each type of certificate that requires rotation.
The rotation procedures described in the following topics do not work if the certificates have already expired. If the certificates have expired, contact Broadcom Support for guidance.
To rotate certificates, follow one of these procedures:
To rotate non rotatable certificates, contact Broadcom Support.
To rotate CAs stored in Tanzu Operations Manager and CredHub, see Rotating CAs and Leaf Certificates. This procedure also rotates the BOSH NATS CA as well as CAs stored in CredHub, such as the BOSH DNS CA and the Diego root CA.
To rotate non configurable leaf certificates, but not the Tanzu Operations Manager root CA or BOSH NATS CA, see Rotating non configurable Leaf Certificates.
To rotate configurable leaf certificates, but not the Tanzu Operations Manager root CA or BOSH NATS CA, see Rotating configurable Leaf Certificates.
Other certificates that the Tanzu Operations Manager API does not rotate include:
The Services TLS CA. To rotate this CA, see Advanced certificate rotation with CredHub Maestro.
IDP SAML certificates. To rotate IDP SAML certificates, see Rotating identity provider SAML Certificates.
IPsec certificates. To rotate IPsec certificates, see Rotating IPsec certificates in the IPsec documentation.
Certificates for any products that you deploy manually with BOSH. To rotate these certificates, you must redeploy the BOSH release and re-create its VMs using the BOSH CLI.
CredHub-managed certificates for the following product versions: