Guzzle Curl Error 60 SSL unable to get local issuer

后端 未结 11 1765
刺人心
刺人心 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:46

    I use guzzle/guzzle 3.* and this code works for me :

    $client = new Client(env('API_HOST'));
    $client->setSslVerification(false);
    

提交回复
热议问题