[Nagiosplug-devel] [ nagiosplug-Bugs-1864404 ] check_smtp --starttls miscalculates timezones

SourceForge.net noreply at sourceforge.net
Sat Jan 5 10:46:33 CET 2008


Bugs item #1864404, was opened at 2008-01-05 04:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1864404&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: David Miller (justdave72)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_smtp --starttls miscalculates timezones

Initial Comment:
check_smtp (nagios-plugins 1.4.9) 1.59

When running check_smtp with --starttls or -S, the certificate expiration time retrieved from the certificate is always expressed in GMT, but check_smtp compares it to the local timezone instead of GMT.  For example, I'm in -0800 and my certificate expired a couple hours ago, but check_smtp claims "WARNING - Certificate expires today (01/05/2008 05:40)." instead of a CRITICAL that it's already expired.  Time on the server is Sat Jan  5 01:44:42 PST 2008 (which is 09:44 GMT, past the expiration time)

openssl s_client tells me:
    Verify return code: 10 (certificate has expired)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1864404&group_id=29880




More information about the Devel mailing list