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.
begin:vcard 
n:Manning;Joe
tel;cell:+46-70-5262695
tel;work:+46-8-568 61695
x-mozilla-html:FALSE
version:2.1
email;internet:[EMAIL PROTECTED]
org;quoted-printable:Ericsson Data;=C4L/BCT/I/OKU
adr;quoted-printable:;;G=F6talandsv=E4gen 230=0D=0A125 82 Stockholm;;;;Sweden
x-mozilla-cpt:;24296
fn:Joe Manning
end:vcard

Reply via email to