Bitwarden Deployment
I decided I wanted to self-host a password manager that way I would be more likely to use it and Bitwarden supports using 2FA through their platform even when self-hosting. I thought about going with their beta unified version but I decided to go with their more well-tested version of just deploying it on Linux.
1
https://bitwarden.com/help/install-on-premise-linux/
I ran into two sets of problems while trying to set this up. At first, my issue was that I would get an error about Letsencrypt not being able to get a certificate. It kept telling me port 80 was not open and I needed to open the port. I doubled and tripled checked that it was open and eventually decided to not get an SSL cert and attempt to add that in later. But I later learned that as long there is an SSL cert in the pipeline which cloud flare was already providing that it would be fine. Also, there already being a cert in the pipeline was the thing that caused the letsencrypt cert to fail in the first place.
The next problem I ran into was that I was getting an issue where my docker containers were constantly restarting over and over and every time I found someone that described the issue and I took a look into it and the issue would already be fixed. I eventually found out this was because I was not using the correct password when attempting to use my Gmail account. You have to make an app password that the application uses because of how Gmail decided to set up its security.
This seemed to fix all the issues I was having and I was able to do everything I wanted to with Bitwarden very easily from that point onward.
As of now there are still several things that I have in mind to do.
- Self-Host Website
- Have VPN back to my home network
- Set up my servers in a server rack
- Get a third computer that will be able to break quorum between my two proxmox servers
- Setup a separate computer that will ping my servers and send wake up packets if it doesn’t get a response
- Self-host Bitwarden an open source password manager