yy  mm  dd  hh  mm  ss Z

year month day hour minute second 'Z' for UTC

Mike

> -----Original Message-----
> From: Joe Manning [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 20, 2000 11:58 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Geting certificate expiration date
> 
> 
> 
> 
> This should work.... but how is the
> date packed in the "data" of the ASN1_UTCTIME 
> struct. I get numbers 
> not_before 000621000000
> not_after 010621235959
> 
> They seem to be yymmdd??????. the first 6 
> chars are the year, month and day.. what are the
> last 6 chars?
> 
> 
> joe.
> 
> 
> 
> Vadim Fedukovich wrote:
> > 
> > Hi Joe,
> > 
> > will X509_get_notBefore(X509 *)
> > and  X509_get_notAfter()
> > 
> > solve it?
> > Vadim
> > 
> > On Wed, 19 Jul 2000, Joe Manning wrote:
> > 
> > >
> > > I have just started using the SSLeay module. I am using it
> > > to test that web sites are up and running. But I would also
> > > like to test the expiration date on certificates. And send
> > > a mail if the expiration date is within one month.
> > >
> > > The "dump_peer_certificate" returns limited data on the
> > > cert. Is there a way to get the expiration date?
> > >
> > > joe.
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to