[gdal-dev] Gdal_translate, WMS source and own certificate

Ari Jolma ari.jolma at gmail.com
Sat Dec 11 06:10:14 EST 2010


On 12/10/2010 04:07 PM, Jukka Rahkonen wrote:
> Hi,
>
> We would like to use gdal_translate for reading fromn our WMS service which is
> secured by our own certificate and thus not automatically trusted.  Our
> developer had a quick look on a gdal source code and tried to find how options
> CURLOPT_SSL_VERIFYPEER (1) and CURLOPT_CAPATH (2) are used there.  Numbers are
> referring to document http://curl.haxx.se/docs/sslcerts.html
>
> The conclusion was that those options are not used and thus it is impossible to
> use dgal_translate with our server.  Is this true, and if yes, would it be worth
> filing a ticket?
>    

Just a comment: am I correct in interpreting the sources that the WMS 
driver uses its own Curl client (gdalhttp.cpp in frmts/wms) and not the 
Curl client in port/cpl_http.cpp? It seems that the cpl_http.cpp turns 
off SSL verification but gdalhttp.cpp does not.

Ari

> -Jukka Rahkonen-
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>    



More information about the gdal-dev mailing list