Skip Menu |

This queue is for tickets about the Net_SSLeay.pm CPAN distribution.

Report information
The Basics
Id: 3319
Status: resolved
Priority: 0/
Queue: Net_SSLeay.pm

People
Owner: Nobody in particular
Requestors: dom [...] semantico.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.25
Fixed in: (no value)



Subject: Feature Request - certificate expiry time
I'm trying to write a tool to check the expiry dates of all my SSL enabled servers. Unfortunately, it doesn't look like I can extract the date and time from $server_cert. I would like a function similiar to X509_get_subject_name(), but called X509_get_expiry_date(). Is this easy to do?
From: Dominic Mitchell
[guest - Fri Aug 22 10:12:00 2003]: Show quoted text
> I'm trying to write a tool to check the expiry dates of all my SSL > enabled servers. Unfortunately, it doesn't look like I can extract > the date and time from $server_cert. I would like a function > similiar to X509_get_subject_name(), but called > X509_get_expiry_date(). Is this easy to do?
I've just found X509_get_notBefore() and X509_get_notAfter() in the Quickref. This is what I was after. My apologies. Thanks, -Dom