Amazon S3 on wamp localhost SSL error

前端 未结 3 1664
无人共我
无人共我 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:32
    1. Are you running on Windows?
    2. Did you take the time to run the SDK Compatibility Test that comes bundled with the SDK?
    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-02-01 08:53

    According to this post you can't work with Amazon AWS on localhost..

    0 讨论(0)
提交回复
热议问题