ich in PHP Amazon S3 auf meinem localhost zu testen, ich versucht, aber halten den gleichen Fehler:Amazon S3 auf wamp localhost SSL-Fehler
Fatal error: Uncaught exception 'cURL_Exception' with message 'cURL resource: Resource id #69; 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 http://curl.haxx.se/libcurl/c/libcurl-errors.html for an explanation of error codes.' in C:\wamp\www\mysite\application\libraries\awsphp\lib\requestcore\requestcore.class.php:829 Stack trace: #0 C:\wamp\www\mysite\application\libraries\awsphp\sdk.class.php(1034): RequestCore->send_request() #1 C:\wamp\www\mysite\application\libraries\awsphp\services\sqs.class.php(250): CFRuntime->authenticate('ListQueues', Array) #2 C:\wamp\www\mysite\application\libraries\awsphp\services\sqs.class.php(582): AmazonSQS->authenticate('ListQueues', Array) #3 C:\wamp\www\mysite\application\controllers\uploads.php(33): AmazonSQS->list_queues() #4 [internal function]: Uploads->aw3() #5 C:\wamp\www\mysite\system\core\CodeIgniter.php(359): call_user_func in C:\wamp\www\mysite\application\libraries\awsphp\lib\requestcore\requestcore.class.php on line 829
Prüfregeln:
$sqs = new AmazonSQS();
$response = $sqs->list_queues();
var_dump($response->isOK());
ich richtig installiert Das AWS SDK php Dateien und aktiviert CURL und SSL auf meinem lokalen Server. Was kann ich tun, damit dies funktioniert? Ich kann online keine Hilfe finden. Ich benutze Wamp.
ich ein ähnliches Problem haben http://stackoverflow.com/questions/12253812/aws-s3-batch-upload-from -localhost-php-error, aber der Fix unten hat nicht funktioniert –