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

During installation, try to automatically force HTTPS, or invite users to setup SSL via Let's encrypt #12654

Open
mattab opened this issue Mar 27, 2018 · 0 comments
Labels
c: Privacy For issues that impact or improve the privacy. c: Security For issues that make Matomo more secure. Please report issues through HackerOne and not in Github.

Comments

@mattab
Copy link
Member

mattab commented Mar 27, 2018

The goal of this issue is to make sure most users will use Matomo over SSL all the time. Using SSL is very important and we need to remind users they should have it enabled by default.

Context

These days It is basically required to run Matomo over SSL for anyone using Matomo seriously. This will also help users achieve GDPR compliance #12600 as it's essential to use HTTPS for Matomo and GDPR compliance.

We are doing some work also in other issues:

Solution

Here the proposed solution is that during installation (maybe even in the very first screen?) we would display a new checkbox "[x] Use HTTPS for secure data transfer with Matomo"

  • if user is already using HTTPS, then auto-tick the box
  • if user is using HTTP, we could maybe check and issue an HTTPS connection to check the index.php or the API replies correctly. If the HTTPS response is good, then we could also auto-tick the box.
  • if the HTTPS check didn't pass, we could display a message "Warning: please configure your Matomo instance so that connections succeed over HTTPS at https://example.com/ \n In case you do not yet "
    have a SSL certificate for your domain, we recommend to use (or ask your technical team) Let's encrypt to generate free SSL certificates".

initially suggested by @sgiehl in #7279 (comment)

@mattab mattab added c: Security For issues that make Matomo more secure. Please report issues through HackerOne and not in Github. c: Privacy For issues that impact or improve the privacy. labels Mar 27, 2018
@mattab mattab added this to the 3.4.1 milestone Mar 27, 2018
@mattab mattab modified the milestones: 3.5.0, 3.6.0 Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Privacy For issues that impact or improve the privacy. c: Security For issues that make Matomo more secure. Please report issues through HackerOne and not in Github.
Projects
None yet
Development

No branches or pull requests

1 participant