title: PHP verify failed with LetsEncrypt
body: <p>Having an issue when trying to read a stream : </p>
  
  <pre><code>$result = file_get_contents($url, false, stream_context_create(
      ['http' =&gt; ['timeout' =&gt; (float) $this-&gt;options['timeout']]]
  ));
  </code></pre>
  
  <blockquote>
    <p>SSL operation failed with code 1. OpenSSL Error messages: </p>
    
    <p>error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed</p>
  </blockquote>
  
  <p>Before anyone answers i am not going to do </p>
  
  <pre><code> "ssl"=&gt;array(
          "verify_peer"=&gt;false,
          "verify_peer_name"=&gt;false,
      ),
  </code></pre>
  
  <p>Am hoping someone else has used letsencrypt and has some proper way of making sure its validated.</p>
  
  <p>feel free to check my cert on my domain <code>lukepolo.com</code></p>