"Vaultwarden requires https:// to use web vault." Explain my next steps to me like I'm five

I’ve been trying to set up a self-hosted password manager on a mini Optiplex 3040 I set up with ZimaOS and ran into some problems with Vaultwarden along the way. The master password page is saying I need to set up https:// to access the web vault, and that the Vaultwarden wiki would be a good place to start figuring out that process. I can’t seem to find this wiki page anywhere, and all the search results that seemed at least somewhat relevant leave me no better than where I started.
Am I missing something here? The one constant I found from these different places was that I should get my own website domain, is that a good place to start? Completely lost here.

For me, I use Cloudflare. Clouldflare allows you to setup a domain and subdomains to point to individual docker programs. By default it uses HTTPS and so for me I use vault.mydomain.cc and so I have https:// for my vaultwarden with no other setup needed. No holes in my firewall so forth.

Here is a post with information on setting up cloudlflare.

I was finally able to figure this out. This was quite a journey.

  1. Turn on HTTPS in the Tailscale admin console under DNS.
  2. Go to the Tailscale app on the ZimaOS dashboard and click the … menu. On the top bar, click the terminal icon (looks like a little box with >_) and type the following:
tailscale cert <your ts.net tailscale address here>

tailscale serve -–bg -–https=10380 localhost:10380

If Vaultwarden is using a different port, use that instead of 10380, but it defaulted to 10380 for me, so I assume that’s what it uses.

1 Like