New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow SSL connection to https://api.piwik.org #1867
Comments
The second part should probably be to override api_service_url (which is already defined in global.ini.php. |
Piwik_Http supports http over curl, stream (allow_url_fopen=On), and sockets. However, for https, we have some inconsistency in behaviour:
I recommend the SSL option only be offered if Piwik_Http::getTransportMethod() == 'curl'. |
Hmm... just noticed that my php 5.2.13 build for Windows doesn't have any CA's configured, so it's failing on the Feedburner stats. |
Replying to vipsoft:
Correction: doesn't have the latest CAs. The workaround would be to download the CA certs from http://curl.haxx.se/docs/caextract.html, and add a curl opt:
Not sure how we could detect this at runtime. |
(In [3725]) refs #1867 - add curl support for local cacert.pem, if available |
As part of this ticket, the download of latest.zip should also happen over HTTPs
|
Note: https://api.piwik.org now work! as well as https://demo.piwik.org https://piwik.org and others :) |
To be done after: #728 which will help test the change. Add a FAQ explaining how to change to https://api.piwik.org in config file. |
https://api.piwik.org can be set in the config file |
For update checks, add a config file setting allowing connection to https://api.piwik.org
We have booked the SSL certificate for api.piwik.org.
To do:
The text was updated successfully, but these errors were encountered: