TLS certificates check
certs — TLS certificates
Certificate expiry for explicit targets and every host of an Ansible inventory, with WARN/BAD day thresholds.
checkfleet check certs --config checkfleet.yml
TLS certificate expiry across a fleet.
- Dials each target with SNI and reads the leaf certificate’s
NotAfter. - Reports
OK,WARN(expires withinwarn_days), orBAD(withincrit_daysor already expired). - A dial/handshake failure is
ERROR(couldn’t measure), notBAD. - Targets come from the explicit
targetslist and/or every host of an Ansible INI inventory (ansible_inventory). Probes run concurrently.
The dial uses
InsecureSkipVerifyon purpose: we want the expiry date even when the chain doesn’t validate locally. It is an expiry reader, not a chain validator.
See Configuration → checks.certs.
See the full module reference for every check, or configuration for the config keys.