User Tools

Site Tools


certificate_term_begins

certificate term begins

  • (before | after) datetime
  • not within timespan

Purpose

Warns when the specified website certificate does not conform to the specified start date or term of validity.

Notes

This requirement may be repeated in the same section.

“Before” and “after” require a specific date or date & time. “Before” warns if the certificate's validity starts after the named date & time. “After” warns if the certificate's validity starts before the specified date or date & time.

A datetime is a specific calendar date and, optionally, a time in 12-hour or 24-hour time. Many formats are accepted but it's recommended to spell out all the digits of the year: 21-november-2023, 21 nov 2023 3:12pm, and 21 nov 2023 15:12:35 are all accepted.

A timespan is an expression of a length of time without a specific date. "4 days 2 hours 3 minutes" indicates a timespan of 4 days, 2 hours, and 3 minutes. Only the units with non-zero values need to be listed. A timespan unit is any combination of seconds, minutes, hours, days, weeks, and years. The trailing 's' on each timespan unit is optional. Weeks are defined as the given number of weeks × 7 days. Years are defined as the given number of years × 365 days.

Not within requirement requires a timespan.


Example configuration

# Warns when the website certificate start of validity is after March 30, 2024.
[certificate:https://illinois.edu https://www.illinois.edu]
certificate term begins before 2024-march-30

Example output

Line 5: 2 certificates have a start date after 2024-march-30:

Serial Number Starting Ending Hostnames Validity Length Remaining Validity
05954D787776425893DBBB28C0A4FAD76236 Fri 2025-07-04 6:05:06 AM Thu 2025-10-02 6:05:05 AM 2 hostnames: illinois.edu, www.illinois.edu 89 days, 23 hours, 59 minutes, and 59 seconds 50 days, 16 hours, 9 minutes, 21 seconds, and 131 milliseconds
05954D787776425893DBBB28C0A4FAD76236 Fri 2025-07-04 6:05:06 AM Thu 2025-10-02 6:05:05 AM 2 hostnames: illinois.edu, www.illinois.edu 89 days, 23 hours, 59 minutes, and 59 seconds 50 days, 16 hours, 9 minutes, 21 seconds, and 131 milliseconds
certificate_term_begins.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki