Renewal keeps failing
Signs: renewal-failure notifications, a red certificate in the app, SSL… errors in SSLense.Cli status, or the reminder digest naming the certificate.
- See why.
SSLense.Cli statusand the certificate's History tab (orhistory --site <name>) show each failure's error code. Look the code up in errors.md; most say exactly what to fix. - Check what renewal needs:
- HTTP validation:
SSLense.Cli preflight --site <site> --hosts <hosts>. Then, from outside your network, check thathttp://<host>/.well-known/acme-challenge/testreaches this server (network-requirements.md). - DNS validation:
SSLense.Cli dns test --name <provider>. - Everything:
SSLense.Cli health.
- HTTP validation:
- Fix the first failing check, then renew by hand:
SSLense.Cli renew --site <name>. A renewal started by hand runs at once, ignoring the backoff and any rollback hold. - Rate limited (SSL2xxx naming a rate limit): wait for the time the message gives. Retrying sooner only extends the limit. Don't switch to another account to get around it.
- Out of time:
- If HTTP validation cannot be fixed before expiry, switch the certificate to DNS validation: issue it again with
--validation dns --forceand a DNS provider. - For a single site, a short-term workaround is to issue from another CA you have already set up (
--ca).
- If HTTP validation cannot be fixed before expiry, switch the certificate to DNS validation: issue it again with
- After it renews:
- Check that the site serves the new certificate (the certificate's Check button, or
SSLense.Cli check --site <name>). - Check that the deployment steps ran:
deploy list --site <name>.
- Check that the site serves the new certificate (the certificate's Check button, or
Escalate with SSLense.Cli diagnostics (add --redact-hosts if needed) if the cause is unclear.