Unable to upload to s3 curl error issuer certificate
I'm trying to upload a file to s3 on amazon and I have two php.ini files and I have added the path to the cacert.pem file like so curl.cainfo = "C:/wamp/cacert.pem" and I get the following error when uploading my text file. I have used git bash to do a curl http://www.google.com and I get back html I don't know what's going on and how to resolve this could someone please help
code 's3' => [ 'driver' => 's3', 'key' => 'asdasd', 'secret' => 'asdasd, 'region' => 'us-west-2' , 'bucket' => 'my-bucket', ],
code response
S3Exception in WrappedHttpHandler.php line 192: Error executing "ListObjects" on "https://s3-us-west-2.amazonaws.com/as3-kdm-bucket?prefix=test.txt%2F&max-keys=1&encoding-type=url"; AWS HTTP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html);
Please or to participate in this conversation.