[mapserver-users] WFS layer and https

Fischer, Brian bfischer at houstoneng.com
Thu Apr 9 13:00:25 EDT 2009


Thanks Mike.  We actually narrowed it down to a problem with MS4W.  It
appears that MS4W's libcurl does not include the root certificate
authority bundle.  I'll need to file a bug with MS4W.

 

Thanks again for your help.

 

Brian Fischer

Houston Engineering, Inc.

Maple Grove, MN

(763) 493-4522

 

From: Michael Smith [mailto:michael.smith at usace.army.mil] 
Sent: Thursday, April 09, 2009 9:31 AM
To: Fischer, Brian; mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] WFS layer and https

 

Brian,

You need the servers certificate in your cURL certificate directory.
Where to put it, I think, depends on your OS. The default in the Unix
OS's is /usr/share/ssl/certs.

Mike


-- 
Michael Smith
RSGIS Center
ERDC - CRREL
US Army Corps of Engineers





On 4/9/09  10:09 AM, "Fischer, Brian" <bfischer at houstoneng.com> wrote:

I'm trying to use a WFS that is coming from a SSL (https) server.  Is it
possible to use a WFS from an https connection?  Here is the error I am
getting.
 
<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msDrawMap(): Image handling error. Failed to draw layer named
&#39;obs&#39;.
msWFSLayerWhichShapes(): WFS connection error. Got HTTP status -60
downloading WFS layer obs
msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with
curl error code 60 (SSL certificate problem, verify that the CA cert is
OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed) for
https://www.sharedgeo.org/datasets/RRV/maps/noaa/noaa.map?mode=ows&amp;&
amp;REQUEST=GetFeature&amp;VERSION=1.0.0&amp;SERVICE=WFS&amp;TYPENAME=ob
s&amp;BBOX=346334.183773962,5034450.028,903297.375226037,5434570.553
</BODY></HTML>
 
Thanks,
Brian
 
Brian Fischer, CFM
GIS Project Manager
Houston Engineering, Inc. | Leave Nothing to ChanceTM
6901 East Fish Lake Road, Suite 140
Maple Grove, MN 55369
Phone:  763.493.4522 / Fax:  763.493.5572
Email: bfischer at houstoneng.com
<mailto:bfischer at houstonengineeringinc.com> 
Website: www.houstoneng.com <http://www.houstonengineeringinc.com/>  
 

________________________________

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090409/232f1b3a/attachment.html


More information about the mapserver-users mailing list