<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&#8217;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 &nbsp;10:09 AM, &quot;Fischer, Brian&quot; &lt;<a href="bfischer@houstoneng.com">bfischer@houstoneng.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I&#8217;m trying to use a WFS that is coming from a SSL (https) server. &nbsp;Is it possible to use a WFS from an https connection? &nbsp;Here is the error I am getting.<BR>
&nbsp;<BR>
&lt;HTML&gt;<BR>
&lt;HEAD&gt;&lt;TITLE&gt;MapServer Message&lt;/TITLE&gt;&lt;/HEAD&gt;<BR>
&lt;!-- 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 --&gt;<BR>
&lt;BODY BGCOLOR=&quot;#FFFFFF&quot;&gt;<BR>
msDrawMap(): Image handling error. Failed to draw layer named &amp;#39;obs&amp;#39;.<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&amp;amp;&amp;amp;REQUEST=GetFeature&amp;amp;VERSION=1.0.0&amp;amp;SERVICE=WFS&amp;amp;TYPENAME=obs&amp;amp;BBOX=346334.183773962,5034450.028,903297.375226037,5434570.553">https://www.sharedgeo.org/datasets/RRV/maps/noaa/noaa.map?mode=ows&amp;amp;&amp;amp;REQUEST=GetFeature&amp;amp;VERSION=1.0.0&amp;amp;SERVICE=WFS&amp;amp;TYPENAME=obs&amp;amp;BBOX=346334.183773962,5034450.028,903297.375226037,5434570.553</a><BR>
&lt;/BODY&gt;&lt;/HTML&gt;<BR>
&nbsp;<BR>
Thanks,<BR>
Brian<BR>
&nbsp;<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: &nbsp;763.493.4522 / Fax: &nbsp;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'> &lt;<a href="mailto:bfischer@houstonengineeringinc.com">mailto:bfischer@houstonengineeringinc.com</a>&gt; <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'> &lt;<a href="http://www.houstonengineeringinc.com/">http://www.houstonengineeringinc.com/</a>&gt; &nbsp;<BR>
&nbsp;<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>