cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL Certificate Info

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Sep 2001 13:21:45 +0200 (MET DST)

On Wed, 12 Sep 2001, Cris Bailiff wrote:

> > 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...

Well, returning a pointer to an internal OpenSSL X509 structure would require
the application to have very good knowledge about OpenSSL doings for that to
be really useful.

I'd prefer if we had libcurl as the sole abstraction layer, not requiring the
application to use a single OpenSSL call. That would also still allow us to
add support for other SSL libraries in the future (yeah, I still want to have
that option) and offer this information the same way unregarding of lib.

I need some real input from somone who wants this kind of information, to be
able to build a smooth interface for it.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-09-14