🔒 TLS certificate monitor
This feature is part of kwatch Pro, which is free during early access. See Community vs Pro.
TLS certificates protect HTTPS connections. This detector warns before a certificate stored in a Kubernetes Secret expires.
Watches for TLS/SSL certificates in kubernetes.io/tls Secrets that are about
to expire, or are invalid. It needs Secret read access, which is on by default
(watch.secrets: true); with watch.secrets: false kwatch reports that it
cannot verify certificates.
How detection works
- kwatch reads the
kubernetes.io/tlsSecrets it watches - Parses the
tls.crtfield (PEM-encoded X.509 certificate) - Checks
NotAfteragainst the current time and reports expiring or expired certificates
Settings
There are no TLS settings: certificate detection is part of kwatch Pro and always on, and the earlier tlsMonitor.* keys no longer exist. Use silences for a certificate you intentionally leave expired.
Required RBAC
Certificate detection needs read access to secrets. The installer and the Helm chart grant it by default; watch.secrets: false removes it. See Kubernetes permissions.
Multiple certificates in one Secret
If a Secret contains multiple certificates (e.g. both RSA and ECDSA), kwatch checks all of them and alerts on the earliest expiry.