[Geomoose-users] Identify with a https WMS source

Brent Fraser bfraser at geoanalytic.com
Mon Feb 6 12:27:57 PST 2017


Eli,

   Yes it can.  I don't recall doing anything special to mapserver or 
mapcache to enable https.  And all Geomoose needs is a map-source url 
starting with https.


Best Regards,
Brent Fraser

On 2/6/2017 11:53 AM, Eli Adam wrote:
> slightly off-topic: This is more of a MapServer question but relates
> to GeoMoose as a client too.  Can MapServer serve WMS/WFS over https?
> I've not found it in the docs or email lists (but my searching may be
> at fault).
>
> Best regards, Eli
>
> On Mon, Feb 6, 2017 at 10:39 AM, Jeff McKenna
> <jmckenna at gatewaygeomatics.com> wrote:
>> Hi Brent,
>>
>> MS4W includes an important file for this, the CA certificate bundle, and
>> Apache's httpd.conf points to it (see
>> http://ms4w.com/README_INSTALL.html#k-certificates-for-https-with-wms-wfs-servers).
>> However sometimes MS4W gets upgraded and that little file is forgotten in
>> the release package (I believe this was missing in MS4W 3.1.4); the file is
>> included in the recent MS4W 3.2.0 release.  But if you ever notice anything
>> missing in an MS4W, please file a ticket right away on that at
>> http://ms4w.com/trac (otherwise that little file will be missed in the next
>> release).
>>
>> -jeff
>>
>>
>>
>> On 2017-02-05 10:45 PM, Brent Fraser wrote:
>>> Hi all,
>>>
>>>    To get identify.php to work when I specify a WMS map-source using
>>> https (instead of the old and out-dated http), I had to add a couple of
>>> curl options to identify.php around line 196:
>>>
>>>          curl_setopt($curlHandle, CURLOPT_SSL_VERIFYHOST, 0);
>>>          curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER, 0);
>>>
>>> Should I file an issue or is this already handled in 3.0?
>>>
>>> And what's with hardcoding "INFO_FORMAT=application/vnd.ogc.gml" into
>>> the request?  Should we make that configurable in the map-source
>>> definition?
>>>
>>> Thanks!
>>>
>>
>> --
>> Jeff McKenna
>> MapServer Consulting and Training Services
>> http://www.gatewaygeomatics.com/
>>
>>
>>
>>
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geomoose-users
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users




More information about the Geomoose-users mailing list