Werk #17712: check_cert: also consider not_before in validity check
| Component | Checks & agents | ||||||
| Title | check_cert: also consider not_before in validity check | ||||||
| Date | Mar 12, 2025 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions | 
 | 
Before when a certificate validity started in the future
check_cert would for example display
Certificate expired (Jan 1 00:00:00 2034 +00:00) CRIT
which is incorrect.
Now the output is being changed to
Certificate not yet valid until Jan 1 00:00:00 2033 +00:00 CRIT