[Geomoose-users] Identify with a https WMS source
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Feb 6 10:39:52 PST 2017
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/
More information about the Geomoose-users
mailing list