[gdal-dev] Need some help adding libCurl to GDAL
even.rouault at mines-paris.org
Mon May 23 03:25:56 EDT 2011
as Tamas suggested, I'd *strongly* encourage you to study
particularly section 4.
The error you get is a sign that the certificate isn't recognized by curl and
the fact you need the -k flag of curl.exe just instructs it to bypass the
standard security checks.
Or, you could try to patch port/cpl_http.cpp and add the following line around
line 299. This should have the same effect of the -k flag.
curl_easy_setopt(http_handle, CURLOPT_SSL_VERIFYHOST, FALSE);
The UNSAFESSL option of the WMS driver basically does the above.
> 2011/5/22 Jeff McKenna <jmckenna at gatewaygeomatics.com>
> > On 11-05-19 2:32 PM, Even Rouault wrote:
> >> Le jeudi 19 mai 2011 10:22:08, Paul Meems a écrit :
> >>> Hi List,
> >>> I'm still working on Win7 with VS2008 and I try to add libcurl to GDAL so
> >>> we can use the new WFS driver.
> >>> Two days ago I already succeeded in compile just libcurl and add it to
> >>> GDAL. But then the WFS driver doesn't work with https links.
> >>> So yesterday I've been trying for almost 10 hours to get libcurl, openssl
> >>> and libssh to compile together.
> > I should also note that MS4W includes SSL support, and comes with Apache
> > configured and ready-to-go pointing to the necessary files. Some notes on
> > this exist in the included README:
> > -jeff
> > --
> > Jeff McKenna
> > MapServer Consulting and Training Services
> > http://www.gatewaygeomatics.com/
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev