cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: https and certificates

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 May 2002 23:56:57 +0200 (MET DST)

On Mon, 27 May 2002, Andreas Olsson wrote:

> Today my client program is hardcoded with a specific CaCertFile
>
> curl_easy_setopt(curl,CURLOPT_CAINFO,pCACertFile);
>
> This is ok as long as I know what certificate the server uses.
>
> Is it possible to specify a directory containing many cert files or to
> bundle them all together in one large cert file and give that to libcurl?

This is currently not possible. I would gladly accept a patch what would
introduce CURLOPT_CAPATH that would then set the OpenSSL 'CApath'
accordingly, the same way CURLOPT_CAINFO currently sets 'CAfile'.

Would you be able to write us a patch for this?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-05-27