Renewal reuses an authentication workflow
A certificate can be valid today even when its automatic renewal path is broken. Certbot renewal depends on its recorded authenticator, the domain's current routing and a successful ACME challenge. A website migration can change those conditions while leaving the existing certificate available on disk.
For HTTP-01, the certificate authority reaches the domain's challenge URL over the supported public HTTP path. A webroot plugin writes challenge material into a chosen document tree. A reverse proxy, redirect rule, authentication layer or different frontend may prevent that material from being served at the expected location.
Setup: inventory the existing certificate lineage
List the managed certificate names, covered domains, authenticator, renewal configuration and scheduled runner. Confirm whether the installation uses a distribution timer, another scheduler or a package-specific mechanism. Do not add a second uncoordinated scheduler simply because no cron entry exists.
Map each domain through DNS, public HTTP routing and the final challenge webroot. Include all frontends serving the name. A multi-node deployment needs a supported way for the challenge request to reach the material; writing the token on only one randomly selected node can produce intermittent validation.
Inspect the challenge workflow
- Review certificate and renewal configuration without exposing account keys. Identify the actual plugin and webroot mapping for every covered name rather than assuming the website's current directory is still recorded.
- Verify HTTP challenge routing with a harmless test file in the approved webroot. Confirm that its exact URL is publicly served from each relevant frontend and does not require an application login.
- Run the supported renewal dry-run in an approved maintenance context. A dry-run contacts the test validation service and may invoke configured hooks, so review those hooks before execution.
- Inspect deployment behavior after renewal. A new certificate file and a web server presenting that file are different states. Use a deploy hook for the intended successful-renewal action, and validate server configuration before a reload.
Illustrative incident: a new proxy sends challenges to the app
In this illustrative scenario, a website moves behind a reverse proxy. The normal homepage works, but the challenge URL is forwarded into the application, which returns a branded 404. The certificate remains valid for several weeks, so the broken renewal path is initially unnoticed.
The operator checks the stored webroot and request route, adds the reviewed challenge handling and repeats a controlled dry-run. The team then verifies the public certificate after the next successful renewal. The example describes a common dependency change and is not a reported client incident.
Diagnostic table
| Symptom | Evidence | Boundary |
|---|---|---|
| Challenge URL returns application HTML | Proxy route and response body | Webroot is not being served |
| Validation works intermittently | DNS endpoints and frontend routing | Nodes disagree on challenge material |
| No automatic attempt appears | Timer or scheduler status and logs | Renewal runner missing or failing |
| New file exists, old certificate is served | Endpoint certificate and reload evidence | Deployment activation |
Verification and recovery plan
Keep a working administrative path and the previous server configuration. Confirm public DNS and required challenge reachability before changing firewall or proxy rules. DNS-01 and other authenticators have their own credentials and automation prerequisites; switching methods needs an explicit supported configuration.
Acceptance should include a successful test challenge, the scheduled runner's next execution and a documented reload path. Monitor the certificate users actually receive and renewal failure logs. Avoid treating a zero exit from an unrelated timer check as proof of certificate issuance.
SOP
Record certificate names, domain owners, authenticator, webroot or DNS automation, scheduler and deploy-hook ownership. Rehearse renewal after a domain, proxy or hosting migration. Escalate early enough to repair validation with business-hour support, and retain endpoint expiry monitoring as an independent check on the whole workflow.
See Clouvenix managed infrastructure for implementation and operational handover.
Technical reference
Official reference 1. Documentation checked 19 October 2026; confirm behavior for your deployed edition and version.