Accessing over local network without SSL
See original GitHub issueWhen I try to access code-server over a local network I get an error message
code-server is being accessed over an insecure domain
I understand that the recommended method to expose the server is either SSH or reverse proxy. All these methods are an overkill if the server is always behind the same firewall as the client. There should be a way to acknowledge the message and dismiss it permanently. I did not notice any broken functionality despite the warning.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
SSL for devices in local network - Server Fault
The way HTTPS (TLS) is set up a certificate is only marked as valid if the domain name matches the one in the...
Read more >How do I run proper HTTPS on an Internal Network?
Validating a server certificate in the browser is mainly done by checking that the hostname from the URL matches the name(s) in the...
Read more >Is there a way to have https for local network webapps without ...
Create a website and use foo.crt foo.key as SSL certificates and key respectivly. on your browser write: https://mylocalnetwork.local. and your ...
Read more >Using HTTPS in client browsers on a local network without ...
I own a key and a trusted SSL certificate (LetsEncrypt) for offline.mydomain.com; There is a DNS server in the offline WiFi network that...
Read more >Accessing over local network without SSL · Issue #3975 - GitHub
I understand that the recommended method to expose the server is either SSH or reverse proxy. All these methods are an overkill if...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
My main concern was that people will submit webview/copy/paste/etc issues that are caused by using an insecure domain but that’s been happening anyway so maybe it won’t matter if we make it dismissable.
Maybe we could consider adding something to the issue template that asks if code-server is being accessed over a secure domain or not.
Or, actually, I think the best solution would be to remove the notification and then when someone tries to use a feature that doesn’t work without a secure domain we then pop up a notification explaining why it doesn’t work (like when a user tries to copy or open a web view).
No plans at the moment but if someone wants to implement this we are definitely happy to merge:
I just tested and here is what I saw was broken (mostly just webviews but there might be other things I missed):