[Geomoose-users] Identify with a https WMS source
James Klassen
klassen.js at gmail.com
Mon Feb 6 12:25:50 PST 2017
Sounds like the right track. There is usually a setting somewhere to
specify the location of the CA bundle.
On Feb 6, 2017 2:23 PM, "Brent Fraser" <bfraser at geoanalytic.com> wrote:
Hey Jeff,
Good catch, mine was missing. But after copying the cert file from the
latest MS4W zip and restarting Apache, PHP curl still did not retrieve the
GML.
I may have to do a little debugging...
Best Regards,
Brent Fraser
On 2/6/2017 11:39 AM, Jeff McKenna 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!
>>
>>
>
>
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20170206/e66c3467/attachment.html>
More information about the Geomoose-users
mailing list