|
Posted by Matty on August 14, 2004, 7:53 pm
If you were Registered and logged in, you could reply and use other advanced thread options
Howdy,
Over the years, I have worked in numerous environments were an expired
digital certificate led to system outages, and user confusion. I decided
to write a tool to deal with this issue, and describe it's usage in this
months (September) issue of SysAdmin. The utility can be run to produce
certificate expiration info for a single ssl-enabled service, or given a
file with a list of domains:
$ ./ssl-cert-check -s mail.daemons.net -p 443
Host Status Expires Days Left
mail.daemons.net:443 Valid May 24 2005 282
$ cat ssldomains
mail.daemons.net 443
www.blatch.com 443
$ ./ssl-cert-check -b -f ssldomains
Host Status Expires Days Left
mail.daemons.net:443 Valid May 24 2005 282
www.blatch.com:443 Down ? ?
There is email integration to remind you electronically when
certificates are about to expire, and a quiet mode to allow easy
integration with cron. ssl-cert-check is licensed under the GPL,
and can be downloaded at:
http://www.daemons.net/~matty/code/ssl-cert-check
Please let me know if you run into problems or bugs.
Thanks,
- Ryan
|