Skip to content

Renewals

Automatic scheduling from next_renewal_at, forced renewal API, Test vs Live, deployment verification, webhooks, rate limits, and ARI hints where the CA exposes them.

Lifecycle overview

A renewal is a new order for the same identifiers before notAfter, followed by validation, issuance, deployment, and endpoint verification. Treating "CA renewed" as finished without checking port 443 is the most common operations failure.

Scheduling

On issuance the platform stores next_renewal_at = notAfter minus renew_before_days (default 30, CERT_RENEW_BEFORE_DAYS). An hourly job selects certificates where auto_renew is true, status is active, and next_renewal_at <= now(), marks them renewing, and dispatches RenewCertificate.

Test vs Live renewals

Renewals respect the certificate environment. Test certificates renew against Let’s Encrypt Staging; Live renewals use Production or your connected commercial CA. Keep automation credentials separate so CI renewals do not touch Live inventory.

Forced renewal

POST /api/v1/certificates/{id}/renew creates a new order immediately — useful after key compromise, SAN changes, or runbooks that cannot wait for the scheduler. Failures set status renewal_failed, store error_code, and emit certificate.renewal_failed.

Validation and retries

Renewal orders repeat DCV. DNS tokens may need republishing if integrations expired. Retry ca_rate_limited and dns_propagation_timeout with exponential backoff. Do not loop validate without fixing the challenge.

Rate limits

Let’s Encrypt rate limits apply per account and hostname set. Spread renewals using sensible renew_before_days and monitor ca_rate_limited. Platform API rate limits are separate and return quota_exceeded.

ACME Renewal Information (ARI)

Where a CA exposes ACME Renewal Information, sslcertificates.io may use it as an input alongside next_renewal_at — for example when a CA suggests earlier renewal to avoid mass reissue. ARI does not replace your schedule silently; it informs scheduling and logging.

Deployment and verification

After renewal issuance, deploy connectors must install the replacement and verify the served SHA-256. certificate.renewed is not proof browsers see the new leaf. See /docs/deployments.

Webhooks and history

Subscribe to certificate.renewed and certificate.renewal_failed. Audit renewal attempts on the certificate timeline in the dashboard and via GET /api/v1/certificates/{id}.

Shortening public lifetimes

Public TLS maxima are 200 days from 15 March 2026, 100 days from 15 March 2027, and 47 days from 15 March 2029 for newly issued subscriber certificates. Shorten renew_before_days as your median lifetime shrinks — calendar reminders alone are insufficient.

Related

Orders /docs/certificate-orders. Webhooks /docs/webhooks. Academy /academy/certificate-renewals. Insights /insights/acme-ari-smarter-renewal-scheduling.