Page 1 of 1

error in google analytics wordpress pluging

Posted: Sat Sep 28, 2013 9:44 am
by ndoshani
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?

Re: error in google analytics wordpress pluging

Posted: Sat Sep 28, 2013 10:46 am
by Christopher
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.

Re: error in google analytics wordpress pluging

Posted: Sat Sep 28, 2013 12:41 pm
by ndoshani
How to update php.ini friend? I can't find php.ini file

Re: error in google analytics wordpress pluging

Posted: Mon Sep 30, 2013 4:43 pm
by Christopher
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.