Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Error executing "PutObject" on "https://fpg22ly.s3.ap-south-1.amazonaws.com/250px-Phoenix_Sun_model.cur"; AWS HTTP error: cURL error 77: error setting certificate verify locations: CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) #1741

Closed
GodfallentheCelestial opened this issue Mar 4, 2019 · 4 comments
Labels
guidance Question that needs advice or information.

Comments

@GodfallentheCelestial
Copy link

Fatal error: Uncaught exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "CopyObject" on "https://user1000.s3.ap-south-1.amazonaws.com/dfd1.jpg-copy"; AWS HTTP error: cURL error 77: error setting certificate verify locations: CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)' GuzzleHttp\Exception\RequestException: cURL error 77: error setting certificate verify locations: CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:\Users\Aks\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:186 Stack trace: #0 C:\Users\Aks\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(149): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 C:\Users\Aks\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(102): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlMultiHandler), Object(GuzzleHttp\Handler\EasyHa in C:\Users\Aks\vendor\aws\aws-sdk-php\src\WrappedHttpHandler.php on line 191

-not very experienced in all this.

@GodfallentheCelestial GodfallentheCelestial changed the title Giving error after reinstalling composer Error: Error executing "PutObject" on "https://fpg22ly.s3.ap-south-1.amazonaws.com/250px-Phoenix_Sun_model.cur"; AWS HTTP error: cURL error 77: error setting certificate verify locations: CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt CApath: none (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) Mar 4, 2019
@diehlaws diehlaws self-assigned this Mar 5, 2019
@diehlaws diehlaws added the guidance Question that needs advice or information. label Mar 5, 2019
@diehlaws
Copy link
Contributor

diehlaws commented Mar 5, 2019

Hi @GodfallentheCelestial, thanks for reaching out to us. This sounds like a problem with the certificate cURL is using on the host on which you are running XAMPP. As suggested by the error message, checking the presence of the certificate at C:\xampp\apache\bin\curl-ca-bundle.crt and the permissions for this file and the folder in which it resides would be a good place to start troubleshooting this behavior.

@diehlaws diehlaws added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Mar 5, 2019
@GodfallentheCelestial
Copy link
Author

@diehlaws I got a fix. Since I was using xampp I checked the apache/bin directory and found that the cUrl file was missing. I added a certificate file there. Thank you so much.

@diehlaws diehlaws removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Mar 6, 2019
@mayoalexander
Copy link

mayoalexander commented Jun 26, 2019

This just happened to me, I'm using vagrant to run an Apache server. All I did was restart the server and it was all good to go. Checking the presence of the certificate at C:\xampp\apache\bin\curl-ca-bundle.crt is key for this issue

@diehlaws diehlaws removed their assignment Aug 26, 2020
@AmrAbdalrahman
Copy link

This just happened to me, I'm using vagrant to run an Apache server. All I did was restart the server and it was all good to go. Checking the presence of the certificate at C:\xampp\apache\bin\curl-ca-bundle.crt is key for this issue

also with me, I restarted the vagrant works well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

4 participants