php curl request always return false
<p>I prepared a url with user credentials to validate client and return the file
I post it with curl in php 5.6.13 within this code piece:</p>

<pre><code>$url ="https://192.168.0.15:10445/wfmi/Infrastructure/getFile.php?filenamecentraldb=".$_GET["filename"]."&amp;username=administrator&amp;password=passwordofadmin";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
</code></pre>

<p>But response is always false.. </p>

<p>I run <code>ch_error($ch)</code> and it returns </p>

<blockquote>
  <p>"Peer certificate cannot be authenticated with known CA certificates" what does this mean ? </p>
</blockquote>

<p>Here is the target page:</p>

<pre><code>if(isset($_GET["filenamecentraldb"]))
{
    error_log("Check1");//never reach there...
    try
    {
        $username = $_GET["username"];
        $password = $_GET["password"];
        ...
        exit(0);
    }
    catch (PDOException $e)
    {
        echo "Error ocurred:".$e-&gt;getMessage();
        exit(0);
    }
    catch (Exception $e)
    {
        echo "Error ocurred:".$e-&gt;getMessage();
        exit(0);
    }
}
</code></pre>