MapServer using certificates as a client to WMS/WFS

Frank Warmerdam warmerdam at POBOX.COM
Wed Apr 19 21:02:39 PDT 2006


Folks,

I'm interested in accessing a WFS server from mapserver, but the WFS
server requires an SSL certificate.  I can accomplish this handily
from the browser by importing the certificate.  But does anyone have
experience doing this sort of thing with mapserver as the client?

Looking at libcurl, it seems setting the CURLOPT_SSLCERT option
is what I want.
   (see http://curl.haxx.se/libcurl/c/curl_easy_setopt.html)

Is it likely that I will need to modify the mapserver code to support
passing such an extra curl option via the map file?  Or is there
a another good way of providing my certificate?

PS. I also notice I have a /usr/local/share/curl/curl-ca-bundle.crt file
which seems to be certificates for root servers.  That's a different
issue, right?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the MapServer-users mailing list