|
|
|
|
|
by mike-cardwell
4985 days ago
|
|
I wrote an application a while ago which would connect to an SSL service and print out how many days until expiry. It works with network ranges and supports IPv6 also. It was designed with the aim of having something useful to stick in a cron job. So if you specify "--expires-within 14" for example, it will only output data for certificates that will expire within the next 14 days. For example: mike@alfa:~$ sslScanner.pl contracts.comcast.com news.ycombinator.com smtp.gmail.com:465
IP Address Port Days Left Common Name
130.94.78.15 443 -172 contracts.comcast.com
174.132.225.106 443 934 news.ycombinator.com
173.194.78.108 465 222 smtp.gmail.com
173.194.78.109 465 222 smtp.gmail.com
2a00:1450:400c:c00:0:0:0:6d 465 222 smtp.gmail.com
mike@alfa:~$
You can get it from https://github.com/mikecardwell/sslScanner |
|