Skip to content
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

Support for SecureTransport #11451

Open
prohtex opened this issue Mar 2, 2017 · 6 comments
Open

Support for SecureTransport #11451

prohtex opened this issue Mar 2, 2017 · 6 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@prohtex
Copy link

prohtex commented Mar 2, 2017

The PHP package bundled with Apple's Server.app uses SecureTransport, not OpenSSL. This causes multiple errors on Mac OS X. Is there planned support for SecureTransport?

https://forum.piwik.org/t/curl-exec-ssl-invalid-ca-certificate-1-offset-0-in-bundle/22561

@mattab
Copy link
Member

mattab commented Mar 21, 2017

Would be great to support this, and a Pull Request is welcome/wanted!

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Mar 21, 2017
@mattab
Copy link
Member

mattab commented Mar 21, 2017

Note that easiest way to solve this is to install openSSL on your PHP by following these instructions http://stackoverflow.com/questions/26461966/osx-10-10-curl-post-to-https-url-gives-sslread-error

@mattab mattab added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. and removed Bug For errors / faults / flaws / inconsistencies etc. labels Mar 21, 2017
@prohtex
Copy link
Author

prohtex commented Apr 5, 2017

While it's not difficult to do this if you're relying on your own LAMP stack (MacPorts, Homebrew, MAMP, that Swiss guy who used to offer a pre-compiled solution, roll your own etc.), for those of us using Apple's Server.app and bundled Apache, this is another story.

Maybe it would be a good idea to offer some user-facing message about SecureTransport? As of the current version, install works but there are a lot of odd errors that pop up during upgrade.

@mattab
Copy link
Member

mattab commented May 25, 2017

Errors reported in the post https://forum.piwik.org/t/curl-exec-ssl-invalid-ca-certificate-1-offset-0-in-bundle/22561/5

Does the problem also occur when clicking "Check for updates" link in the box in the Admin area? (wondering if api.piwik.org still can be connected via securetransport and onlyp plugins.piwik.org would be affected)

@prohtex
Copy link
Author

prohtex commented May 25, 2017

I just upgraded successfully to 3.0.4. Like the upgrade to 3.0, 1, 2, 3, I got several SSL errors during the upgrade but despite saying "Upgrade failed" it worked fine. Here is what I see in my Admin panel:
screen shot 2017-05-25 at 8 53 52 am

@prohtex
Copy link
Author

prohtex commented Jun 23, 2017

Any updates on this one? To answer your question @mattab, no, when I click "check for updates", I do not get an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants