Patch against Plugin Version (-V output): SVN trunk
Plugin Name: sslutils/check_http
Example Plugin Commandline: check_http -H wildcard.scripts.mit.edu -S -C
14
Tested on operating system: debian/4.0
Tested on architecture: i686
Tested with compiler: gcc-4.1.2-20061115
A TLS extension called "Server Name Indication" allows name-based HTTPS
virtual hosting. (From Gentoo:
http://gentoo-wiki.com/HOWTO_Apache_with_Name_Based_Hosting_and_SSL). This
is especially common when serving HTTPS requests with a wildcard
certificate (*.domain.tld).
This patch adds a call to SSL_set_tlsext_host_name (OpenSSL 0.9.8f and
higher) in the certificate check section of sslutils to allow certificate
verification of HTTPS virtual-host domains.
This patch also corrects the expiration check to escalate to 'critical'
when the certificate is expired but for less than 1 day (currently emits
'warning') and displays the time-zone with the expiration time.
Joe Presbrey
Thomas Guyot-Sionnest
Enhancement
release-1.4.14
Public
|
Date: 2009-05-20 05:58 I finally got around testing this... Works well, though looks like the only |
|
Date: 2009-03-26 00:16 Thanks. I haven't replied earlier but that's exactly why I preferred the |
|
Date: 2009-03-25 21:13 Here is a new version of my own patch, keeping original API intact to |
|
Date: 2009-03-24 21:46 You can test with https://sympa.msr-inria.inria.fr and |
|
Date: 2009-03-21 06:49 Actually I prefer the other method. I stripped the timezone stuff, cleared |
|
Date: 2009-03-20 02:06 Sorry, it's not about old openssl (I assumed that without really reading |
|
Date: 2009-03-19 23:06 diff -Naur --exclude '*~' nagios-plugins-1.4.13/plugins/check_http.c |
|
Date: 2009-03-19 23:03 Here is a slightly different version, changing np_net_ssl_init() prototype |
|
Date: 2009-03-19 05:16 Moreover this seems to break old OpsnSSL's (at least on my Solaris |
|
Date: 2009-03-17 08:02 Thanks for your report |
|
Date: 2009-03-05 11:01 This is really useful, I'd like to have it merged too... |
| Filename | Description | Download |
|---|---|---|
| nagiosplug-sni-trunk.patch | SNI patch to trunk (r1977) | Download |
| sslutils_sni.patch | Proposed fix | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | - | 2009-05-20 05:58 | dermoth |
| status_id | Open | 2009-05-20 05:58 | dermoth |
| resolution_id | Accepted | 2009-05-20 05:58 | dermoth |
| artifact_group_id | None | 2009-03-26 00:16 | dermoth |
| resolution_id | None | 2009-03-26 00:16 | dermoth |
| File Added | 318840: sslutils_sni.patch | 2009-03-21 06:46 | dermoth |
| assigned_to | nobody | 2009-03-17 08:02 | dermoth |
| File Added | 273929: nagiosplug-sni-trunk.patch | 2008-04-09 23:56 | presbrey |