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
Include certificates for update over HTTPS? #7580
Comments
it's valuable to let users on Windows and other systems without default setup certificates, upgrade Piwik over SSL - so +1 in general |
Actually, setting the CA path via php.ini is easy as was demonstrated by the user who reported the problem and who fixed it himself. But it seems on some systems there are problems with the location. Maybe people should choose a different location than putting it in the root of C:\ There might be permission issues. |
@bolera for those users we could include the certificate file so it would solve any problem they might have on their system. |
…ks even if the local PHP install doesn't have root certificates installed This new file is included by `Piwik\Http::configCurlCertificate()`
I imported a root certificates file in Piwik, should work on PHP installs that don't have any root certificate set up. |
Btw: noticed Guzzle also includes the cacert file, in case we wanted to re-use their file and not bundle it ourselves.
|
It seems some systems do not have certificates installed, which makes the update over HTTPS fail. See this comment: http://forum.piwik.org/read.php?2,125605,page=1#msg-125613
It seems to be a minority of users (for the forum posts). Should we include those certificates in Piwik by default? @mattab what do you think?
(let's discuss this assuming the "update over HTTP" fallback work, i.e. those users still have the possibility to update with HTTP)
The text was updated successfully, but these errors were encountered: