I have a problem when trying to run the archive.php file from my browser.
If I do a fresh install and only load piwik or archive.php under HTTP it works fine. As soon as I access piwik from HTTPS and then try to load the archive.php again it fails with the error regardless of using HTTP or HTTPS:
I have a valid SSL certificate that I paid for. It is not self signed.
I started with piwik on version 2.4 and this error has persisted. I have been updating to beta releases as well.
I do not have CLI access to my web server. I also cannot change the default php.ini file.
Maybe search for this error “error setting certificate verify locations: CAfile: C:\site\wwwroot\piwik/core/DataFiles/cacert.pem CApath: none. Hostname requested was” on the internet to find a solution maybe? If you do please post it back here
Any solution for this? I have the same error in version 2.8.1,
Response was 'curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was:
Now that Piwik has been updated to use SSL only during upgrade, not only can you no longer use your local filesystem for the path of the “latest.zip” file, but if you’re on Windows, you must ensure that you have a current Root Certificate Authority (CA) certificate file in PEM format, and configure PHP’s CURL extension to see it.
This should eliminate the warning for:
curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: builds.piwik.org
Essentially the steps are:
[ol]
[li] Download the latest PEM file from the CURL website or Github.
[/li] See http://curl.haxx.se/docs/caextract.html for the two links.
[li] Configure CURL in your php.ini to read this file:
[/li]
curl.cainfo = "<path-to>/cacert.pem"
[li] Restart IIS (or recycle your app pool).
[/li][/ol]
I’m trying to query APIs from an intranet Piwik SSL installation using a self signed pem certificate.
I’ve encoded our pem cert inside the certificate file but I stil can’t connect to, any hint?
I’ve issued this command: cat mycert.pem >> core/DataFiles/cacert.pem