Amazon S3 on wamp localhost SSL error

前端 未结 3 1674
无人共我
无人共我 2021-02-01 08:07

I\'m trying to test in PHP Amazon S3 on my localhost but keep getting the same error:

Fatal error: Uncaught exception \'cURL_Exception\' with message \'cU

3条回答
  •  野性不改
    2021-02-01 08:40

    1. Get this file and save it to your hard drive. Call it cacert.pem.
    2. Configure curl.cainfo in php.ini with the full path to the file downloaded in step 1.
    3. Restart Apache.

    I'll leave it as an exercise for the reader to find out why this fixes it, all the information you need can be found in the links above.

提交回复
热议问题