curl-users
Re: SSL Certificate Info
Date: Wed, 12 Sep 2001 11:26:34 +1000
Daniel Stenberg wrote:
>
> On Mon, 10 Sep 2001, Paul Harrington wrote:
>
> > > I'll see if I can figure out how the make this info get ouput...
> >
> > This would be great if you could. Not sure what format the date should
> > be returned in - unix timestamp would probably be easiest to work out
> > when your Certificate is going to expire.
>
> I've just committed code that outputs 'start date' and 'expire date' for the
> server certificate when -v is used.
>
> Example output looks like:
>
> * start date: 2001-02-21 20:23:22 GMT
> * expire date: 2002-02-21 20:23:22 GMT
>
> I am considering adding an interface to libcurl to allow applications to
> fetch this kind of information too...
Yes please :-) - Even just a pointer the STACKOF(X509) inside openssl
(that I can grovel through myself) would be a good start...
> Feel free to check out and try. It'll be included in the next pre-release of
> course.
Love too...
Cris
Received on 2001-09-12