This browser requires https to use the web vault #1749
Replies: 5 comments 1 reply
-
Browsers require HTTPS for a lot of the security features. This isn't an error, nor an issue with vaultwarden (it'd be bitwarden itself). Equally, It's definitely worth setting up HTTPS! |
Beta Was this translation helpful? Give feedback.
-
https://github.com/dani-garcia/vaultwarden/wiki/Enabling-HTTPS |
Beta Was this translation helpful? Give feedback.
-
Just thought I would add a comment here because I hit the same issue myself and most of the documentation I found doesn't really talk about this. The main issue is that you can only access Vaultwarden via HTTPS but Vaultwarden like many projects don't want to have to trouble themselves with the difficulty of providing HTTPS, managing keys etc. They just want to focus on their actual app. The issue then arrises, how do I force all traffic to my Vaultwarden server through the reverse proxy? This is where DNS comes to help. For external access you just set your CNAME for your Vaultwarden instance to the external address of your network using DDNS. Make sure your firewall has NAT configured to forward traffic to your reverse proxy and you're good to go. Again see the many YouTube videos on this. Where I got stuck was how to get my local LAN traffic to use HTTPS. I was getting the message "This browser requires https to use the web vault" when ever I tried to access the server via a web browser. In the end it was simple. I just had to update my local DNS server to point at the reverse proxy rather than directly at the Vaultwarden server. |
Beta Was this translation helpful? Give feedback.
-
I think this is mostly a doc issue. Most of the wiki examples in terms of setup refer to port 80, but if HTTPS must be used (as seems to be the case), then examples shouldn't lead you to think that port 80 is OK. I know it's complicated to address HTTPS before getting basic functionality working, but it's a bit silly to get things running in an unusable state, and then have to fall back and set up HTTPS. I would far prefer that port 80 be left out of the docs/setup entirely - it's a mystery why it's there in the first place. |
Beta Was this translation helpful? Give feedback.
-
OK, just wish I had seen this: bitwarden/web#254 (see last section) before I decided to try the HTTP route. |
Beta Was this translation helpful? Give feedback.
-
I get this error when I create an admin account in the web gui: "This browser requires https to use the web vault"
The Docker command:
docker run -d --name bitwarden -p 8084:80 -p 8443:443 vaultwarden/server:latest
Beta Was this translation helpful? Give feedback.
All reactions