[-]
[+]
|
Changed |
check_ssl_cert.changes
|
|
[-]
[+]
|
Changed |
check_ssl_cert.spec
^
|
|
[-]
[+]
|
Changed |
check_ssl_cert-1.14.1.tar.bz2/ChangeLog
^
|
@@ -1,3 +1,7 @@
+2012-07-11 Matteo Corti <matteo.corti@id.ethz.ch>
+
+ * check_ssl_cert: fixed a bug with Perl date computation on some systems
+
2012-07-06 Matteo Corti <matteo.corti@id.ethz.ch>
* check_ssl_cert: performance data in days
|
[-]
[+]
|
Changed |
check_ssl_cert-1.14.1.tar.bz2/NEWS
^
|
@@ -1,10 +1,12 @@
+2012-07-11 Version 1.14.1 FIxed a bug with Perl date computation on some systems
2012-07-06 Version 1.14.0 The status now includes performance data in days until
- expirtation (requires perl with Date::Parse).
+ expiration (requires perl with Date::Parse).
It is now possible to print additional information in
the plugins long output (multiline, Nagios 3 only)
2012-04-05 Version 1.13.0 The plugin will now try to fetch the certificate without
without TLS extensions in case of error
-2012-04-04 Version 1.12.0 Fixed a bug in the chain verification (hard coded error number)
+2012-04-04 Version 1.12.0 Fixed a bug in the chain verification (hard coded
+ error number)
2011-10-22 Version 1.11.0 --altname option
2011-09-01 Version 1.10.0 Applied a patch from Sven Nierlein to authenicate
using a client certificate
|
[-]
[+]
|
Changed |
check_ssl_cert-1.14.1.tar.bz2/VERSION
^
|
@@ -1 +1 @@
-1.14.0
+1.14.1
|
[-]
[+]
|
Changed |
check_ssl_cert-1.14.1.tar.bz2/check_ssl_cert
^
|
@@ -19,15 +19,15 @@
# enable substitution with:
# $ svn propset svn:keywords "Id Revision HeadURL Source Date"
#
-# $Id: check_ssl_cert 1305 2012-07-06 19:46:31Z corti $
-# $Revision: 1305 $
+# $Id: check_ssl_cert 1308 2012-07-12 04:30:31Z corti $
+# $Revision: 1308 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_ssl_cert/check_ssl_cert $
-# $Date: 2012-07-06 21:46:31 +0200 (Fri, 06 Jul 2012) $
+# $Date: 2012-07-12 06:30:31 +0200 (Thu, 12 Jul 2012) $
################################################################################
# Constants
-VERSION=1.14.0
+VERSION=1.14.1
SHORTNAME="SSL_CERT"
VALID_ATTRIBUTES=",startdate,enddate,subject,issuer,modulus,serial,hash,email,ocsp_uri,fingerprint,"
@@ -67,7 +67,7 @@
echo " -f,--file file local file path (works with -H localhost only)"
echo " -h,--help,-? this help message"
echo " --long-output list append the specified comma separated (no spaces) list"
- echo " of attributes to the plugin output on additiona lines."
+ echo " of attributes to the plugin output on additional lines."
echo " Valid attributes are:"
echo " enddate, startdate, subject, issuer, modulus, serial,"
echo " hash, email, ocsp_uri and fingerprint."
@@ -631,16 +631,16 @@
if [ -n "${PERL}" ] ; then
- export CERT_END_DATE=$($OPENSSL x509 -in ${CERT} -noout -enddate | sed -e "s/.*=//")
-
- DAYS_VALID=$( perl <<-'EOF'
+ CERT_END_DATE=$($OPENSSL x509 -in ${CERT} -noout -enddate | sed -e "s/.*=//")
+
+ DAYS_VALID=$( perl - "${CERT_END_DATE}" <<-"EOF"
use strict;
use warnings;
use Date::Parse;
-
- my $cert_date = str2time( $ENV{'CERT_END_DATE'} );
+
+ my $cert_date = str2time( $ARGV[0] );
my $days = int (( $cert_date - time ) / 86400 + 0.5);
|
[-]
[+]
|
Changed |
check_ssl_cert-1.14.1.tar.bz2/check_ssl_cert.1
^
|
@@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii foo.1
.\"
-.TH "check_ssl_cert" 1 "April, 2012" "1.14.0" "USER COMMANDS"
+.TH "check_ssl_cert" 1 "July, 2012" "1.14.1" "USER COMMANDS"
.SH NAME
check_ssl_cert \- checks the validity of X.509 certificates
.SH SYNOPSIS
@@ -43,7 +43,7 @@
this help message
.TP
.BR "--long-output" " list"
-append the specified comma separated (no spaces) list of attributes to the plugin output on additiona lines.
+append the specified comma separated (no spaces) list of attributes to the plugin output on additional lines.
Valid attributes are: enddate, startdate, subject, issuer, modulus, serial, hash, email, ocsp_uri and fingerprint. 'all' will include all the available attributes.
.TP
.BR "-i,--issuer" " issuer"
|
[-]
[+]
|
Changed |
check_ssl_cert-1.14.1.tar.bz2/check_ssl_cert.spec
^
|
@@ -6,7 +6,7 @@
# $Date: 2010-02-16 21:06:11 +0100 (Tue, 16 Feb 2010) $
################################################################################
-%define version 1.14.0
+%define version 1.14.1
%define release 0
%define sourcename check_ssl_cert
%define packagename nagios-plugins-check_ssl_cert
@@ -53,6 +53,9 @@
%{_mandir}/man1/%{sourcename}.1*
%changelog
+* Wed Jul 11 2012 Matteo Corti <matteo.corti@id.ethz.ch> - 1.14.1-0
+- Updated to 1.14.1
+
* Fri Jul 6 2012 Matteo Corti <matteo.corti@id.ethz.ch> - 1.14.0-0
- updated to 1.14.0
|