>_ IzzyLab

Topic breakdown

Every X.509 certificate has a validity window — notBefore and notAfter; monitoring the expiry date is a classic operational task, since an expired cert takes down HTTPS. The openssl x509 subcommand parses the certificate: the -noout flag suppresses printing the PEM itself, while separate keys print only the dates (notAfter is given in GMT in a format like Jul 30 12:00:00 2027 GMT). What remains is to cut off the part of the string after the = sign with any text tool and save it to a file.

What's checked

  1. expiry date matches the certificate

What it looks like