Renew a certificate using automated certificate management
Request renewal for a certificate and automatically retrieve the certificate for an application. This maintains secure and uninterrupted services as you extend the validity period of the certificate, preventing potential service disruptions due to expired certificates.
Before you begin
Set up the routing policy for automated certificate management to ensure the Certificate Management catalog is enabled.
To renew an existing certificate, make sure the certificate has its extension details populated in the [sn_disco_certmgmt_certificate_extension] table. Currently, these details populate automatically by the Discovery DigiCert CA Pattern or for any certificates created through the automated flow. However, for Entrust certificates, this only works if you Request new certificate using automated certificate management.
Role required: PKI Admin, Admin, Certificate Owner, or Users that are part of the Certificate Owner Group.
About this task
To renew an existing certificate, request a new certificate with the same details as the original certificate. Currently, there is no Renew API available for Entrust CA Gateway and Microsoft CA certificates. During a renewal request, a new certificate is generated internally with the same attributes as the selected certificate.
For renewing an existing certificate, CSR is mandatory. The requester can use an existing CSR if available or use a new CSR. If you want to use an existing CSR, use the same CSR to request a new certificate from the CA. If fields are entered using vault and java APIs, the CSR is generated.
Procedure
- Navigate to .
- Click Renew Certificate – Automated flow.
- Provide details for the mandatory fields: CSR and Validity Period.
- Fill in or choose additional information on the form, and then click Submit to proceed with the order.
Result
- The Routing Policy [sn_disco_certmgmt_routing_policy] table helps fetch the CA
routing policy ID.
- If a single routing policy isn't matched, the approver must select the CA and trigger the flow.
- If the CSR contains a different domain name than the issued certificate domain name, the task requests approval.
- If a single routing policy is matched but renewal certificate information isn't available in the Certificate Extension [sn_disco_certmgmt_certificate_extension] table, the task requires approval.
- Certificates can't be renewed if the Certificate Authority and Order id or thumbprint details are missing for the certificate in the Certificate Extension [sn_disco_certmgmt_certificate_extension] table. Discover the certificate via Certificate Authority query to populate the required details in the Certificate Extension table. After Discovery, select the routing policy and approve the task.
- This creates a task for the ordered certificate which triggers the flow to request renewal certificates.
- Once the request is submitted, the automated flow makes the request to the CA to
get the certificate.Note:Powershell Step is used for Microsoft CA. This requires the plugin: com.glide.hub.action_step.powershell.
- The Order id is stored in the Certificate Task [sn_disco_certmgmt_certificate_task]
table and Certificate Extension [sn_disco_certmgmt_certificate_extension] table.Note:For Entrust CA Gateway, Certificate Serial Number and Enrollment Id are fetched. The Serial Number is stored in the Certificate Extension [sn_disco_certmgmt_certificate_extension] table.
- Every 30 minutes, the “DigiCert – Track Certificate Order Status” scheduled job runs and checks for status.
The system fetches details about the selected certificate from the Certificate Extension [sn_disco_certmgmt_certificate_extension] table and makes the request to the CA to renew the certificate. Certificates can't be renewed if the Certificate Authority, Order id, or thumbprint are missing from this table. If additional details are missing for renewing the certificate, the system logs a message and suggests what to do. In this case, you must discover the certificate using CA-based discovery. For more information, see Run Certificate Discovery via Certificate Authority query to populate these details to the Certificate Extension table.