0

I was using a cacert.pem to use Google Admanager API i wanted in a php file to use curl_init function. It was undefined so after some researches i tried to install it using apt-get install php7.2-curl command

After this I get this error cURL error 77: error setting certificate verify locations: CAfile: /etc/php/7.2/cacert.pem CApath: /etc/ssl/certs (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

how can I fix it ? thank you

RomMer
  • 113
  • 12

1 Answers1

1

Ok found the solution

I don't know why but the install changed the access rights of cacert.pem file so my web server wasn't able to use it.

RomMer
  • 113
  • 12