andreiaghenii
Forum Replies Created
-
Hello Ian,
I would recommend to add this to your setup Article as it helped us to address the issue.
THE SOLUTION
The solution is configure the PHP Curl extension with the proper certificate authority bundle so that it can verify the ssl certificate.You will need to verify that you have the proper certificate bundle in your PHP folder. We used the cacert.pem file from Mozilla, which you can get from here: https://curl.haxx.se/docs/caextract.html
Place the file in your PHP folder located here: C:\Program Files\PHP\v7.2\extras\ssl\cacert.pem
The PHP version / path may be different for your setup. Older versions are sometimes located in C:\Program Files (x86)\PHP\v5.6\ for example.
Once you have verfied the ca bundle is there, you will need to edit your php.ini to tell CURL where to find the bundle.
Edit your php.ini (ours was located: C:\Program Files\PHP\v7.2\php.ini ) and use Ctrl +F to serach for the following line:
;curl.cainfo =
Change this line to containt your path for the ca bundle, like so:curl.cainfo = “C:\Program Files\PHP\v7.2\extras\ssl\cacert.pem”
Don’t forget to un-comment the line (remove the ‘;’ at the beginning) and make sure you use quotes around the path if it contains spaces.Sincerely,
AndreiHello Ian,
We are having an issue with extension as well:
Error fetching buckets — Error executing “ListBuckets” on “https://s3.amazonaws.com/”; AWS HTTP error: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Our WordPress is setup on IIS windows server with installed SSL certificate. We Tried everything possible and worked with AWS, they claim that this is extension that is not performing properly.
is there a possible solution for this problem?
Sincerely,
Andrei- This reply was modified 5 years, 5 months ago by andreiaghenii.