title: Laravel + AWS S3: cURL error 60
body: <p>I am attempting to create a web page through Laravel that can upload files (starting with images, though looking to upgrade to .doc/.pdf at some point) to an AWS S3 bucket. I've followed the following tutorial in regards to having a simple page to build on:</p>
  
  <p><a href="http://itsolutionstuff.com/post/laravel-5-amazon-s3-file-upload-tutorial-part-1example.html" rel="nofollow noreferrer">http://itsolutionstuff.com/post/laravel-5-amazon-s3-file-upload-tutorial-part-1example.html</a></p>
  
  <p>Unfortunately, I'm currently facing the following error:</p>
  
  <blockquote>
    <p>S3Exception in WrappedHttpHandler.php line 192:</p>
    
    <p>Error executing "ListObjects" on
    "<a href="https://s3-us-west-2.amazonaws.com/" rel="nofollow noreferrer">https://s3-us-west-2.amazonaws.com/</a>...";
    AWS HTTP error: cURL error 60: SSL certificate problem: unable to get
    local issuer certificate (see
    <a href="http://curl.haxx.se/libcurl/c/libcurl-errors.html" rel="nofollow noreferrer">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a>)</p>
  </blockquote>
  
  <p>I've already downloaded the cacert.pem file from <a href="https://curl.haxx.se/ca/cacert.pem" rel="nofollow noreferrer">https://curl.haxx.se/ca/cacert.pem</a> and have inserted it into php.ini, and I'm still facing this error. For extra thoroughness, I added it into the php.ini-production and php.ini-development files as well, but nothing's changed. What am I still doing wrong?</p>
  
  <p>(I'll add that I'm currently working on a Windows 10 laptop and have downloaded XAMPP, though I'm still using "php artisan serve" to set the local server. I'm unsure if this is a problem or not.)</p>