skip to Main Content

I am using eBay API PHP SDK and get this error when running on my local WAMP server in Win 7:

Fatal error: Uncaught exception ‘GuzzleHttpExceptionRequestException’ with message ‘cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)’ in C:vendorguzzlehttpguzzlesrcHandlerCurlFactory.php on line 187
( ! ) GuzzleHttpExceptionRequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in C:vendorguzzlehttpguzzlesrcHandlerCurlFactory.php on line 187

Image:

error pic

2

Answers


  1. You need to check certificate and system CURL version. I had the same problem on my machine and updating CURL lib helped (because I’m using macports it was easy:

    sudo port selfupdate
    sudo port upgrade curl
    

    If You are using different platform or package manager You need to investigate

    Login or Signup to reply.
  2. you have to set in php.ini and restart server.

    openssl.cafile=C:pathtocacert.pem
    

    download it from here
    https://gist.github.com/VersatilityWerks/5719158/download

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search