- Obtain the new certificate from SSMLate.
- You will not be able to obtain a backup from via GCP!
- Get the current private key from the
SSLCerts Lockbox
1Password vault and save it to your machine. (preferably on a tmpfs)- Alternatively for a certificate that is available in GKMS, you can retireve it there, too.
- Log into https://dash.cloudflare.com and select the zone, to which the certificate is matched. (e.g. staging.gitlab.com for a certificate which matches that SAN)
- When prompted for an account, select
GitLab
.
- When prompted for an account, select
- Click on the
SSL/TLS
-tab andEdge Certificates
. - Select the certificate you would like to replace by clicking on the
Manage
button for that certificate followed by the wrench icon.- Its type should be
Custom
orCustom (legacy)
, others are managed by Cloudflare and cannot manually be replaced!
- Its type should be
- Paste the TLS Certificate into the
SSL Certificate
field and the private key into thePrivate Key
field.- Select the
Bundle Method
Compatible
- Select
Private Key Restriction
Distribute to all Cloudflare data centers
- Set
Legacy Client Support
toModern
- Select the
- Click
Upload Custom Certificate
- Close the management dialog that might still be open and refresh the page.
- You should now see the updated certificate.
There is no backup mechanism provided. So a rollback would be a replacement with a prior version of the certificate. That might exist in the SSLCerts Lockbox
history.