alert on upcoming expirations
Find a file
Vincent Batts 428c8b35b2
main: switch from 'flag' to 'github.com/urfave/cli'
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-17 15:02:17 -05:00
go.mod main: switch from 'flag' to 'github.com/urfave/cli' 2025-02-17 15:02:17 -05:00
LICENSE Initial commit 2025-02-15 17:17:26 +00:00
main.go main: switch from 'flag' to 'github.com/urfave/cli' 2025-02-17 15:02:17 -05:00
README.md README: basic usage 2025-02-15 12:18:52 -05:00

too-soon

alert on upcoming expirations. like, certificates for my domain expire too soon.

Default is expiration within 20 days.

inital functionality

Arguments passed to the tool are PEM encoded x509 files. No output at all if all good. If any of the PEM x509 files have DNS Names and the notAfter date is within 20day from today, then output text alert to stdout and return non-zero exit code.