Guzzle Curl Error 60 SSL unable to get local issuer

后端 未结 11 1759
刺人心
刺人心 2020-12-14 16:00

Trying to use the YouTube API v3 to get some video(s) information, using Guzzle in Symfony2 using Service Descriptors.

When I run the script, I get this:

11条回答
  •  情深已故
    2020-12-14 16:42

    It can be that it is looking for the SSL certificate of your site.

    If this is the case, try to disable the SSL certification:

    $client->setDefaultOption('verify', false);
    

提交回复
热议问题