-
-
08 Nov 2010 10:50:26 UTC
- Distribution: Net-SSL-ExpireDate
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (3)
- Testers (166 / 0 / 0)
- Kwalitee
Bus factor: 1- License: perl_5
- Activity
24 month- Tools
- Download (48.65KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- HIROSE Masaaki <hirose31 _at_ gmail.com>
NAME
check-cert-expire.pl - check and list expired certificates
SYNOPSIS
check-cert-expire.pl [ --help ] [ --duration DURATION ] --file DATAFILE
$ cat <<EOF > server-list.txt https://rt.cpan.org https://www.google.com EOF $ check-cert-expire.pl --duration '3 months' --file server-list.txt $ check-cert-expire.pl -d '3 months' -f server-list.txt --- entry: - date: 2015-04-14T05:12:17 title: https://rt.cpan.org title: Certificate Expire Date
DESCRIPTION
Examine expire date of certificate and output name and expire date if expired. Output format is YAML.
Examinee certificate is both OK via network (HTTPS) and local file.
OPTIONS
- --file DATAFILE
- -f DATAFILE
-
DATAFILE is name of plain text file contains testee list.
Acceptable list format is the following.
FORMAT EXAMPLE =============================== https://FQDN https://rt.cpan.org file://PATH file:///etc/ssl/cert.pem FQDN rt.cpan.org PATH /etc/ssl/cert.pem
- --duration DURATION
- -d DURATION
-
Specify the furtur point to check expiration. If omitted, check against just now.
DURATION accepts human readable text. See also Time::Duration::Parse.
3 days 4 months 10 years 4 months and 3days
- --link
- -l
-
Add dummy link attribute.
SEE ALSO
Net::SSL::ExpireDate, Time::Duration::Parse
AUTHOR
HIROSE, Masaaki <hirose31@gmail.com>
Module Install Instructions
To install Net::SSL::ExpireDate, copy and paste the appropriate command in to your terminal.
cpanm Net::SSL::ExpireDate
perl -MCPAN -e shell install Net::SSL::ExpireDate
For more information on module installation, please visit the detailed CPAN module installation guide.