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

Authentication without SSL/HTTPS broken on chromium based browsers #236

Open
formtapez opened this issue Jan 6, 2023 · 4 comments
Open

Comments

@formtapez
Copy link

Hello,
since some time newer chromium browsers like Vivaldi or Brave are trying to access the webinterface over https, which then of course fails. Login is only possible when switching the browser in privacy-mode.

So, is it possible to enable SSL for the webinterface to enter the 20th century? :-)

@Dahlgren
Copy link
Owner

Dahlgren commented Jan 6, 2023

Use a reverse proxy such as nginx, traefik, caddy, IIS or whatever your preferred server is in front of the application to handle TLS termination and other web server features. Node.js is not the best edge server.

@formtapez
Copy link
Author

Node.js is not the best edge server.

It seems to be not that complicated:
#237

@Dahlgren
Copy link
Owner

Dahlgren commented Jan 6, 2023

It's easy, but it's not what this application should be responsible to manage. There are a lot of additional consideration to be taken with serving HTTPS and it adds additional burden on the application.

To use HTTPS in a simple way the server should also support ACME compatible services such as Let's Encrypt out of the box to avoid having to manually provide certificates and keys. This is better solved by a proper web server with reverse proxy rather than bundling it with the Arma server manager.

Our server setup handles both TLS and SSO authentication in the loader balancer in front of this application. Otherwise one would be limited to serving one application on port 443 (HTTPS) where as with a reverse proxy we can run multiple applications such as Arma3Sync manager and other game managers. It also allows services to be running on separate machines behind the load balancer without directly exposing them to the Internet at all.

@Dahlgren
Copy link
Owner

Dahlgren commented Jan 6, 2023

Here's a quickstart guide for running Caddy with automatic certificate handling and HTTPS in front of another HTTP server, https://caddyserver.com/docs/quick-starts/reverse-proxy. This is probably the easiest setup with less steps than Nginx, Traefik or IIS.

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

No branches or pull requests

2 participants