title: Running into cURL error with S3 class on local machine but runs fine on host
body: <p>I'm completely lost on this, I'm not sure what is causing this error:</p>
  
  <p>Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #17; cURL error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (cURL error code 60). See <a href="http://curl.haxx.se/libcurl/c/libcurl-errors.html" rel="nofollow">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a> for an explanation of error codes.' in C:\Inetpub\wwwroot\htdocs\TestSite\src_ama\lib\requestcore\requestcore.class.php:824 Stack trace: #0 C:\Inetpub\wwwroot\htdocs\TestSite\src_ama\services\s3.class.php(903): RequestCore->send_request() #1 C:\Inetpub\wwwroot\htdocs\TestSite\src_ama\services\s3.class.php(1625): AmazonS3->authenticate('mybucket', Array) #2 C:\Inetpub\wwwroot\htdocs\TestSite\class_SysFunc.php(794): AmazonS3->list_objects('mybucket', Array) #3 C:\Inetpub\wwwroot\htdocs\TestSite\sub_dashOverview.php(26): SysFunc->getCartonSize('1.41c388ab584f1...') #4 {main} thrown in C:\Inetpub\wwwroot\htdocs\TestSite\src_ama\lib\requestcore\requestcore.class.php on line 824</p>
  
  <p>The way I have this setup in my website, I have a class in which I use to connect to S3 and it works perfectly fine on my host account.</p>
  
  <p><strong>class.php</strong></p>
  
  <pre><code>    if(!class_exists('SysFunc')){
          class SysFunc{
              var $s3;
              var $bucket = 'mybucket';
  
              function __construct() {
                  require_once ('amazon/sdk.class.php');
                  $this-&gt;s3 = new AmazonS3();
              }
  
              ...More functions
          }
      }
  </code></pre>
  
  <p>I'm wondering if it has to do with my php.ini file or possibly the Apache config file.</p>
  
  <p>Any ideas would help.</p>