[Geomoose-users] Identify with a https WMS source

Brent Fraser bfraser at geoanalytic.com
Mon Feb 6 07:41:10 PST 2017


Otherwise no text is available in $gml after:

         $gml = curl_exec($curlHandle);

but maybe there is a better solution?


Best Regards,
Brent Fraser

On 2/6/2017 7:29 AM, James Klassen wrote:
> Why do you need those options? Generally,! disabling the certificate 
> checks isn't a good idea.
>
>
>
>
> On Feb 5, 2017 8:45 PM, "Brent Fraser" <bfraser at geoanalytic.com 
> <mailto:bfraser at geoanalytic.com>> 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!
>
>     -- 
>     Best Regards,
>     Brent Fraser
>
>
>     _______________________________________________
>     Geomoose-users mailing list
>     Geomoose-users at lists.osgeo.org <mailto:Geomoose-users at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/geomoose-users
>     <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/aab252e8/attachment.html>


More information about the Geomoose-users mailing list