[mapserver-dev] cURL and https

Steve Lime Steve.Lime at dnr.state.mn.us
Mon Apr 21 16:24:13 EDT 2008


If you can't set it programmatically then I don't see another option...

Steve

>>> On 4/21/2008 at 2:51 PM, in message <480CF033.3090200 at mapgears.com>, Daniel
Morissette <dmorissette at mapgears.com> wrote:
> Julien-Samuel Lacroix wrote:
>> 
>> It's possible to define where to look for the CA cert bundle or to not 
>> look for the certificate at all in the C code. However we can't just 
>> hardcode a location. The libcurl command-line interface support an 
>> environment variable called CURL_CA_BUNDLE, but this is not available in 
>> the C API. Searching for a solution I found out that other projects are 
>> simply implementing the support for this environment variable in their 
>> code.
>> 
>> What other think of implementing this in MapServer? When the environment 
>> variable is set, use that for the certificate location.
>> 
> 
> I agree that using the CURL_CA_BUNDLE env. variable (if it is set) in 
> MapServer seems to be the best fix.
> 
> Daniel



More information about the mapserver-dev mailing list