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

WIP - Add automatic self signed SSL by default to setup #4194

Closed
wants to merge 2 commits into from
Closed

WIP - Add automatic self signed SSL by default to setup #4194

wants to merge 2 commits into from

Conversation

amunchet
Copy link

What type of PR is this? (check all applicable)

  • Feature

Description

Redash's main strength is sharing of queries/reports between parties, technical and non-technical. If self-hosted, a better security practice is to use SSL (even on an internal network). Redash should support self-signed certificates out of the box as the bare minimum security.

@arikfr
Copy link
Member

arikfr commented Sep 28, 2019 via email

@amunchet
Copy link
Author

Letsencrypt is wonderful when the Redash instance is accessible externally; however for my use case (and I imagine other environments), the internal database I wish to query and current network configuration do not allow external routes, making certificate generation/renewal impossible. I suppose you could generate a certificate externally, then copy it internally, but that doesn't seem very friendly out of the box. (DDNS isn't allowed for us via general policy, but that would probably work as well).

@amunchet
Copy link
Author

I guess the use case this solves is for a semi-local installation (by that I mean, installation on an internal network with more clients than just the installer's personal machine). My situation was, I installed redash on one of our local servers, was quite excited to get up and querying, then realized I almost sent all our database information over cleartext, which would have landed me in hot water with the security folks. This PR is trying to address that particular "gotcha" and make initial installation have at least that minimum of security.

@arikfr
Copy link
Member

arikfr commented Sep 29, 2019

Thanks for the explanation. I see why LetsEncrypt won't work in your case, but I believe it's the less common case.

How about we add a page that documents how to create self signed certificates to the documentation instead of having it as the default setup?

@amunchet
Copy link
Author

amunchet commented Nov 2, 2019

Sounds good - I think the scope of the PR has changed significantly, so I'll go ahead and close this one. Thanks!

@amunchet amunchet closed this Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants