You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I'm wondering if there's any easy way of testing with it on localhost. (Since it's only one small component of the application, and when making changes, it's nice to test everything before it hits the server.)
Setting up an Access Key / Secret from AWS Console doesn't provide a token. So I tried for instance running this on a test page on a AWS instance:
This setup works great for me when running on an AWS instance, using:
However, I'm wondering if there's any easy way of testing with it on localhost. (Since it's only one small component of the application, and when making changes, it's nice to test everything before it hits the server.)
Setting up an Access Key / Secret from AWS Console doesn't provide a token. So I tried for instance running this on a test page on a AWS instance:
Which then gave me the 3 strings. (And I realize they'll have a fairly short lifespan) Then I tried passing them like this:
But when I try to use it, I get the following error:
Fatal error: Uncaught Akeeba\Engine\Postproc\Connector\S3v4\Exception\CannotGetBucket: Akeeba\Engine\Postproc\Connector\S3v4\Connector::internalGetBucket(): [60] SSL certificate problem: unable to get local issuer certificate in C:\project\vendor\akeeba\s3\src\Connector.php:935 Stack trace: #0 C:\project\vendor\akeeba\s3\src\Connector.php(460): Akeeba\Engine\Postproc\Connector\S3v4\Connector->internalGetBucket('BUCKETNAME...', 'folder...', NULL, NULL, '/', false) #1 C:\project\handlers\media_upload.php(83): Akeeba\Engine\Postproc\Connector\S3v4\Connector->getBucket('BUCKETNAME...', 'folder...') #2 {main} thrown in C:\project\vendor\akeeba\s3\src\Connector.php on line 935
SSL certificate problem: unable to get local issuer certificate
I have a CURL pem certificate package setup with my localhost PHP / Apache setup, but I'm obviously missing something.
There's not quite the same options as the bloated AWS SDK, which appears to have some provision for this:
https://stackoverflow.com/questions/24620393/aws-ssl-security-error-curl-60-ssl-certificate-prob-unable-to-get-local
I get the same error using this method as outlined in the Readme:
If I add:
$configuration->setSSL(false);
Then I get:
[500] InvalidRequest:The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
Has anyone else used this package with localhost and have any suggestions?
The text was updated successfully, but these errors were encountered: