title: PHP cURL error code 60
body: <p>Whilst trying to setup a php environment on windows (using wamp) to use the Amazon PHP SDK, when i try to run a sample test I get the following error:</p>
  
  <pre><code>Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #10; cURL error: SSL certificate problem: unable to get local issuer certificate (cURL error code 60). See http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.' in C:\wamp\www\AWSSDKforPHP\lib\requestcore\requestcore.class.php on line 848
  </code></pre>
  
  <p>I have already added the following line to my php.ini</p>
  
  <pre><code>curl.cainfo = C:\Windows\ca-bundle.crt
  </code></pre>
  
  <p>which is the location of a certificate i created using this VBS script 
  <a href="https://raw.github.com/bagder/curl/master/lib/mk-ca-bundle.vbs">VBS-Script</a></p>
  
  <p>I have restarted my WAMP service also.</p>
  
  <p><img src="https://i.stack.imgur.com/k3VYQ.png" alt="PHP index curl reference"></p>