Skip to content

nicokaiser/check-cert-expiry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check-cert-expiry

Check expiration dates for SSL/TLS hosts.

Usage

check-cert-expiry -d14 example.com:443 host2.example.com:467 ...

Outputs warnings for each certificate that expires in less than 14 days. When -v is specified, the output will be verbose (status of each certificate, not only expired ones).

Cron

Check every monday at 7am and send a mail if there are upcoming expirations:

0 7 * * 1 check-cert-expiry -d14 example.com:443 host2.example.com:467 | mail -E -s "Certificate Expiration" me@example.com

Todo

  • Support self-signed certificate

License

MIT

About

Check expiration dates for SSL/TLS hosts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published