title: Copy Image from Remote Server Over HTTPS
body: <p>I already find answers how to copy images over HTTP, but when I try to copy images over HTTPS then I get this:</p>
  
  <blockquote>
    <p>Warning: copy(): SSL operation failed with code 1. OpenSSL Error
    messages: error:14077458:SSL
    routines:SSL23_GET_SERVER_HELLO:reason(1112)</p>
  </blockquote>
  
  <p>This is code I use:</p>
  
  <pre><code>copy('https://www.metalacmarket.com/product-img/org/JpUSP3KgvgeeikNheRDi4CRg.jpg', IMAGES_PATH.'JpUSP3KgvgeeikNheRDi4CRg.jpg');
  </code></pre>
  
  <p>Any idea how to get images over HTTPS?</p>