Even, Thanks for your reply. I understand the need for certificates but using certificates for a server that doesn't require it makes it hard to access that server. If I need to explain to my users to follow Tamas his blogspot to access the server of their choice they go crazy.
I've tried your suggestion and patched port/cpl_http.cpp. But I keep this error: "Protocol https not supported or disabled in libcurl" I really feel I need to enable something else in GDAL but I have no idea what. As a workaround I copy curl.exe as well and use it to get my WFS though https. But of course that is not a solution. I'm still wondering if anybody has some experience with GDAL + WFS driver and https. Thanks, Paul 2011/5/23 Even Rouault <[email protected]> > Paul, > > as Tamas suggested, I'd *strongly* encourage you to study > http://szekerest.blogspot.com/2010/12/daily-built-binary-packages-for.html, > 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. > > > > > Thanks, > > > > Paul > > > > > > 2011/5/22 Jeff McKenna <[email protected]> > > > > > 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: > > > > > > > http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#g-certificates-for-https-with-wms-wfs-servers > > > > > > -jeff > > > > > > > > > -- > > > Jeff McKenna > > > MapServer Consulting and Training Services > > > http://www.gatewaygeomatics.com/ > > > > > > > > > > > > _______________________________________________ > > > gdal-dev mailing list > > > [email protected] > > > http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > > > >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
