davidtsadler / ebay-sdk-php

An eBay SDK for PHP. Use the eBay API in your PHP projects.
Apache License 2.0
349 stars 341 forks source link

Error can't find my ssl certificate and can't modify value #62

Closed Fabr9193 closed 7 years ago

Fabr9193 commented 7 years ago

When I do

'http'    => [
                'verify' => $this->log.'../ca-bundle.crt' (var/ca-bundle.crt)
            ]

or

            'verify'      => false

I have :

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

If I want to bypass this I get :

Notice: Indirect modification of overloaded property DTS\eBaySDK\Trading\Types\GeteBayOfficialTimeRequestType::$RequesterCredentials has no effect

when I do

        $request->RequesterCredentials->eBayAuthToken = $apiAccess->getSellerId() ; (that being the user token)

but according to your example again it's supposed to work

I'm a bit lost 😞 maybe I'm doing it wrong