[-]
[+]
|
Changed |
check_ssl_cert.spec
|
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/COPYRIGHT
^
|
@@ -1,5 +1,5 @@
- Copyright (c) 2007-2011 ETH Zurich
+ Copyright (c) 2007-2012 ETH Zurich
with the following individuals added to the list of Contributing Authors
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/ChangeLog
^
|
@@ -1,3 +1,8 @@
+2012-04-04 Matteo Corti <matteo.corti@id.ethz.ch>
+
+ * check_ssl_cert: removed an hard coded reference to the error number by the
+ SSL chain verification
+
2011-10-22 Matteo Corti <matteo.corti@id.ethz.ch>
* check_ssl_cert: added a --altnames option to match the CN to alternative
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/NEWS
^
|
@@ -1,3 +1,4 @@
+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.12.0.tar.bz2/README
^
|
@@ -1,5 +1,5 @@
- (c) Matteo Corti, ETH Zurich, 2007-2011
+ (c) Matteo Corti, ETH Zurich, 2007-2012
see AUTHORS for the complete list of contributors
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/TODO
^
|
@@ -1,4 +1,5 @@
-Nagios performance data (e.g., missing days)
+* Nagios performance data (e.g., missing days)
+* IPv6 support (e.g., through gnutls-cli)
# File version information:
# $Id: AUTHORS 1103 2009-12-07 07:49:19Z corti $
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/VERSION
^
|
@@ -1 +1 @@
-1.11.0
+1.12.0
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/check_ssl_cert
^
|
@@ -9,7 +9,7 @@
#
# See the INSTALL file for installation instructions
#
-# Copyright (c) 2007-2011 ETH Zurich.
+# Copyright (c) 2007-2012 ETH Zurich.
#
# This module is free software; you can redistribute it and/or modify it
# under the terms of GNU general public license (gpl) version 3.
@@ -19,15 +19,15 @@
# enable substitution with:
# $ svn propset svn:keywords "Id Revision HeadURL Source Date"
#
-# $Id: check_ssl_cert 1272 2011-10-22 09:41:59Z corti $
-# $Revision: 1272 $
+# $Id: check_ssl_cert 1291 2012-04-04 14:39:57Z corti $
+# $Revision: 1291 $
# $HeadURL: https://svn.id.ethz.ch/nagios_plugins/check_ssl_cert/check_ssl_cert $
-# $Date: 2011-10-22 11:41:59 +0200 (Sat, 22 Oct 2011) $
+# $Date: 2012-04-04 16:39:57 +0200 (Wed, 04 Apr 2012) $
################################################################################
# Constants
-VERSION=1.11.0
+VERSION=1.12.0
SHORTNAME="SSL_CERT"
################################################################################
@@ -54,7 +54,8 @@
echo
echo "Options:"
echo " -A,--noauth ignore authority warnings (expiration only)"
- echo " --altnames matches the pattern specified in -n with alternate names too"
+ echo " --altnames matches the pattern specified in -n with alternate"
+ echo " names too"
echo " -C,--clientcert path use client certificate to authenticate"
echo " --clientpass phrase set passphrase for client certificate."
echo " -c,--critical days minimum number of days a certificate has to be valid"
@@ -425,6 +426,13 @@
echo "Expect not found: disabling timeouts"
fi
+# check if openssl s_client supports the -servername option
+
+SERVERNAME=
+if ${OPENSSL} s_client not_a_real_option 2>&1 | grep -q -- -servername ; then
+ SERVERNAME="-servername ${HOST}"
+fi
+
################################################################################
# check if openssl s_client supports the -servername option
#
@@ -648,7 +656,7 @@
if [ -z "${NOAUTH}" ] && grep -q '^verify\ error:' ${ERROR} ; then
- if grep -q '^verify\ error:num=18:self\ signed\ certificate' ${ERROR} ; then
+ if grep -q '^verify\ error:num=[0-9][0-9]*:self\ signed\ certificate' ${ERROR} ; then
if [ -z "${SELFSIGNED}" ] ; then
critical "Cannot verify certificate\nself signed certificate"
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.tar.bz2/check_ssl_cert.1
^
|
@@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii foo.1
.\"
-.TH "check_ssl_cert" 1 "January, 2011" "1.11.0" "USER COMMANDS"
+.TH "check_ssl_cert" 1 "April, 2012" "1.12.0" "USER COMMANDS"
.SH NAME
check_ssl_cert \- checks the validity of X.509 certificates
.SH SYNOPSIS
|
[-]
[+]
|
Changed |
check_ssl_cert-1.12.0.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.11.0
+%define version 1.12.0
%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 Apr 4 2012 Matteo Corti <matteo.corti@id.ethz.ch> - 1.12.0-0
+- updated to 1.12.0 (bug fix release)
+
* Sat Oct 22 2011 Matteo Corti <matteo.corti@id.ethz.ch> - 1.11.0-0
- ipdated to 1.10.1 (--altnames option)
|