getumbrel / umbrel

A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi or any x86 system.
https://umbrel.com
Other
7.71k stars 544 forks source link

Umbrel needs to support HTTPS (this is important) #1895

Open mikropsoft opened 3 months ago

mikropsoft commented 3 months ago

I want to expose Umbrel to the external network, but when I do so with a domain that has an SSL certificate, I receive a warning similar to the one I mentioned in issue #1832.

Opening Umbrel on the external network via HTTP doesn’t inspire confidence. This support should be implemented urgently. I kindly ask all developers to take this into consideration.

GuiSousa135 commented 3 months ago

I agree, this is extremely important, but I don't know if it is easy to implement.

JoseMoranUrena523 commented 3 months ago

You’d have to wait on the Umbrel developers to decide whether they want to implement HTTPS support.

JoseMoranUrena523 commented 3 months ago

I agree, this is extremely important, but I don't know if it is easy to implement.

I assume what they'd have to do is use certbot to generate an SSL, and have whatever they use (say nginx) be able to use that SSL.

kennym commented 3 months ago

Is this really a security issue if you're accessing your Umbrel without https via tailscale? Isn't the traffic between you and Umbrel always encrypted as long as connected to Tailscale?

JoseMoranUrena523 commented 3 months ago

Is this really a security issue if you're accessing your Umbrel without https via tailscale? Isn't the traffic between you and Umbrel always encrypted as long as connected to Tailscale?

I don't think its a major security issue with Tailscale, but still. What if you don't want to use Tailscale?

jjmmbb commented 2 months ago

My contribution: https://r.je/guide-lets-encrypt-certificate-for-local-development

jjmmbb commented 2 months ago

I am still searching for solutions to make a way to run .local domains using SSL. I have found two different approaches using a very useful method to improve security on Umbrel.

https://smallstep.com/blog/private-acme-server/ - It's a private ACME SERVER that can easily run over Traefik.

sahilph commented 1 month ago

Nginx Proxy Manager is now available on the app store. You can use that to request SSL certificates and expose certain apps to the internet.

Edit: If you wish to encrypt communications in your local network, I have created a app for that. More Info here

LastSkywalkerER commented 2 weeks ago

I decided not to create a new issue, I think the situation is similar to mine. The problem is that I need to put Umbrel on the network.

I've done this in several ways:

In all cases I get the same error.

image

It seems that somewhere in the source code there is a hardcoded address addressing via http, which is not supported under https

sahilph commented 2 weeks ago

@LastSkywalkerER It seems that somewhere in the source code there is a hardcoded address addressing via http, which is not supported under https

Yes you are correct, the http is currently hardcoded, There is PR open which would fix this: #1841

Most likely, that PR will be merged in the next release. For now the workaround will be to manually add your domain to the file.

jjmmbb commented 2 weeks ago

@sahilph developed a module for httpsizer the Umbrel. My suggestion is that Umbrel add that module to core.