php-youtube-api icon indicating copy to clipboard operation
php-youtube-api copied to clipboard

Exception' with message 'Curl Error : SSL certificate problem: unable to get local issuer certificate

Open polaris0227 opened this issue 7 years ago • 2 comments

I've got this error: Exception' with message 'Curl Error : SSL certificate problem: unable to get local issuer certificate Please advise. Thanks.

polaris0227 avatar Apr 25 '17 08:04 polaris0227

You can reference to #14 #32 Basically what you need is to 1) install CA cert properly, or; 2) disable verifying the SSL Cert (not recommended, although it will work)

On CentOS you can install CA Cert by sudo yum install ca-certificates On Debian/Ubuntu you can install by sudo apt-get install ca-certificates

madcoda avatar Apr 27 '17 08:04 madcoda

@polaris0227 to late to the party, but go to Youtube and find the method get_api and add curl_setopt($tuCurl, CURLOPT_SSL_VERIFYPEER, false);

LeorentKelmendi avatar Apr 01 '18 11:04 LeorentKelmendi