README: basic usage

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-02-15 12:16:37 -05:00
parent 3bdddaa253
commit f79c74c16c
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -1,3 +1,13 @@
# too-soon
alert on upcoming expirations
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.