<HTML>
<HEAD>
<TITLE>Re: [mapserver-users] WFS layer and https</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Brian,<BR>
<BR>
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.<BR>
<BR>
Mike<BR>
<BR>
<BR>
-- <BR>
Michael Smith<BR>
RSGIS Center<BR>
ERDC - CRREL<BR>
US Army Corps of Engineers<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On 4/9/09 10:09 AM, "Fischer, Brian" <<a href="bfischer@houstoneng.com">bfischer@houstoneng.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
<HTML><BR>
<HEAD><TITLE>MapServer Message</TITLE></HEAD><BR>
<!-- 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 --><BR>
<BODY BGCOLOR="#FFFFFF"><BR>
msDrawMap(): Image handling error. Failed to draw layer named 'obs'.<BR>
msWFSLayerWhichShapes(): WFS connection error. Got HTTP status -60 downloading WFS layer obs<BR>
msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with curl error code 60 (SSL certificate problem, verify that the CA cert is OK. Details:<BR>
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) for <a href="https://www.sharedgeo.org/datasets/RRV/maps/noaa/noaa.map?mode=ows&&REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS&TYPENAME=obs&BBOX=346334.183773962,5034450.028,903297.375226037,5434570.553">https://www.sharedgeo.org/datasets/RRV/maps/noaa/noaa.map?mode=ows&&REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS&TYPENAME=obs&BBOX=346334.183773962,5034450.028,903297.375226037,5434570.553</a><BR>
</BODY></HTML><BR>
<BR>
Thanks,<BR>
Brian<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'><FONT FACE="Arial"><B>Brian Fischer,</B></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"> </FONT></SPAN><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>CFM<BR>
GIS Project Manager<BR>
</SPAN></FONT></FONT><FONT FACE="Arial"><FONT COLOR="#005B45"><SPAN STYLE='font-size:11pt'><B><I>Houston Engineering, Inc.</I></B></SPAN></FONT><SPAN STYLE='font-size:11pt'> </SPAN><FONT SIZE="2"><SPAN STYLE='font-size:10pt'>|</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> </SPAN></FONT><FONT COLOR="#005B45"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Leave Nothing to ChanceTM<BR>
</SPAN></FONT></FONT></FONT><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>6901 East Fish Lake Road, Suite 140<BR>
Maple Grove, MN 55369<BR>
Phone: 763.493.4522 / Fax: 763.493.5572<BR>
Email: </SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> </SPAN></FONT><FONT COLOR="#0000FF"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'><a href="bfischer@houstoneng.com">bfischer@houstoneng.com</a></SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <<a href="mailto:bfischer@houstonengineeringinc.com">mailto:bfischer@houstonengineeringinc.com</a>> <BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Website:</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> </SPAN></FONT><FONT COLOR="#0000FF"><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>www.houstoneng.com</SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'> <<a href="http://www.houstonengineeringinc.com/">http://www.houstonengineeringinc.com/</a>> <BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
mapserver-users mailing list<BR>
<a href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><BR>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>