Amazon S3 Upload error SSL certificate issues
<p>I'm trying to test Laravel Amazon S3 on my localhost but keep getting the same error:</p>

<blockquote>
  <p>S3Exception in WrappedHttpHandler.php line 192: Error executing
  "ListObjects" on
  "<a href="https://s3-us-west-2.amazonaws.com/app?prefix=appimages%2FIMG-1469840859-j.jpg%2F&amp;max-keys=1&amp;encoding-type=url" rel="nofollow">https://s3-us-west-2.amazonaws.com/app?prefix=appimages%2FIMG-1469840859-j.jpg%2F&amp;max-keys=1&amp;encoding-type=url</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">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a>)</p>
</blockquote>

<p>My code :</p>

<pre><code>$s3 = \Storage::disk('s3');
$filePath = '/images/' . $filename;
$s3-&gt;put($filePath, file_get_contents($image), 'public');
</code></pre>