<div dir="auto"><div>Not a PHP expert here so I am not sure how to go about f:bding the root error message, but with every other language I have used, only working with the checks disabled means there was a certificate error so either the https server's certificate is bad (easy to chec, a web browser would also show a warning when visiting the site) or that the client program can't find the it's list of trusted certificate authorities (and so will think all certificates are invalid).</div><div dir="auto"><br></div><div dir="auto">The best fix would be to figure out why the certificate isn't validating and fix that.</div><div dir="auto"><br></div><div dir="auto">If you need to talk to a server with a bad certificate, can't fix the server, and don't care if the connection is secure, then turning off the checks is a work around.<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Feb 6, 2017 9:41 AM, "Brent Fraser" <<a href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Otherwise no text is available in $gml after:<br>
    </p>
    <p>        $gml = curl_exec($curlHandle);</p>
    <p>but maybe there is a better solution?<br>
    </p>
    <p><br>
    </p>
    <pre class="m_-7961844428632489961moz-signature" cols="72">Best Regards,
Brent Fraser</pre><div class="elided-text">
    <div class="m_-7961844428632489961moz-cite-prefix">On 2/6/2017 7:29 AM, James Klassen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="auto">
        <div>Why do you need those options? Generally,! disabling the
          certificate checks isn't a good idea.
          <div dir="auto"><br>
          </div>
          <div dir="auto"><br>
          </div>
          <br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Feb 5, 2017 8:45 PM, "Brent
              Fraser" <<a href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>>
              wrote:<br type="attribution">
              <blockquote class="m_-7961844428632489961m_-2701133435276901008quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
                <br>
                  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:<br>
                <br>
                        curl_setopt($curlHandle, CURLOPT_SSL_VERIFYHOST,
                0);<br>
                        curl_setopt($curlHandle, CURLOPT_SSL_VERIFYPEER,
                0);<br>
                <br>
                Should I file an issue or is this already handled in
                3.0?<br>
                <br>
                And what's with hardcoding
                "INFO_FORMAT=application/vnd.o<wbr>gc.gml" into the
                request?  Should we make that configurable in the
                map-source definition?<br>
                <br>
                Thanks!<font color="#888888"><br>
                  <br>
                  -- <br>
                  Best Regards,<br>
                  Brent Fraser<br>
                  <br>
                  <br>
                  ______________________________<wbr>_________________<br>
                  Geomoose-users mailing list<br>
                  <a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
                  <a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geomoose-users</a></font></blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div>

</blockquote></div><br></div></div></div>