php-youtube-api
php-youtube-api copied to clipboard
Exception' with message 'Curl Error : SSL certificate problem: unable to get local issuer certificate
I've got this error: Exception' with message 'Curl Error : SSL certificate problem: unable to get local issuer certificate Please advise. Thanks.
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
@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);