Hello,Friends i have wordpress blog,after i install "google analytics plugins" i have error on my dashboard like this "
SSL certificate problem, verify that the CA cert is OK. Retrying with the CA cert bundle from google-api-php-client.
after i search solution on net about this i find solution is like this
download http://curl.haxx.se/ca/cacert.pem and save it somewhere.
update php.ini -- add curl.cainfo = "PATH_TO/cacert.pem"
reference link "http://stackoverflow.com/questions/6400 ... 9#19067939"
now,i dont know how to do can anybody help me pleaseee?
error in google analytics wordpress pluging
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: error in google analytics wordpress pluging
You can follow those instructions to download the cacert.pem file to your server, update php.ini to point to the file, and restart the web server.
There is also a cURL setting that you can set by calling setop(). I think it is CURLOPT_CAINFO. See the PHP manual for cURL.
There is also a cURL setting that you can set by calling setop(). I think it is CURLOPT_CAINFO. See the PHP manual for cURL.
(#10850)
Re: error in google analytics wordpress pluging
How to update php.ini friend? I can't find php.ini file
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: error in google analytics wordpress pluging
The php.ini file can be in various places depending on the OS running the webserver and how PHP was installed. If you cannot find it, or do not have access to it, then you can call the setop() function when using cURL.
(#10850)