Certificates: critical only in the last 48 hours #49

Merged
jcoffey-dev merged 1 commits from feature/cert-critical-within into main 2026-11-16 05:51:59 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 2abab8264d Certificates: critical only in the last 48 hours
ci / check (pull_request) Successful in 3m52s
ci / postgres (pull_request) Successful in 7m37s
A certificate four days from its end was critical, so it repeated every
15 minutes at the same level as an outage. Now every certificate
condition carries its end, and one pass holds it at warning until it's
within certificates.critical_within (default 48h) of it, whichever source
judged it critical: hosts' ports and files, site checks, Cloudflare,
Akamai CPS, Vault and cert-manager. An ended one stays critical. The
Certificates page judges by the same window; a certificate only in
files still says nothing until 7 days out, and warns from there.

Closes #34.
2026-11-15 22:36:39 -07:00