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

Local deployments should have self-signed certificates #2503

Open
stuartc opened this issue Sep 17, 2024 · 0 comments
Open

Local deployments should have self-signed certificates #2503

stuartc opened this issue Sep 17, 2024 · 0 comments
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request

Comments

@stuartc
Copy link
Member

stuartc commented Sep 17, 2024

Currently, Lightning runs on port 4000 - with no TLS/SSL on the web front end.

In the pursuit of encouraging best practices local deploys in production mode should:

  • Generate a self signed certificate
  • Use the self signed cert on a secure port (like 4443?)
  • Warn the user when logging in via the HTTP endpoint that this is insecure
  • Serve the application via a secure endpoint with the self signed certificate

However when a user deploys the application in front of a reverse proxy that provides certificates, this policy should be able to be disabled via at least an environment variable.

@taylordowns2000 taylordowns2000 added the help wanted Indicates that a maintainer wants help on an issue or pull request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request
Projects
Status: New Issues
Development

No branches or pull requests

2 participants