1
0
mirror of https://github.com/bitwarden/help synced 2026-01-08 19:43:13 +00:00

uppercase Bitwarden

This commit is contained in:
Kyle Spearrin
2018-02-27 15:25:55 -05:00
parent 16de7b0b1e
commit a27a68db92
51 changed files with 210 additions and 210 deletions

View File

@@ -7,7 +7,7 @@ popular: false
tags: [hosting, docker, backup]
---
With the public cloud version of bitwarden, we automatically handle backing up your data for you. However, when self-hosting bitwarden you must implement your own backup procedures in order to keep your data safe.
With the public cloud version of Bitwarden, we automatically handle backing up your data for you. However, when self-hosting Bitwarden you must implement your own backup procedures in order to keep your data safe.
Bitwarden's Docker containers use volume mapping to keep all important data persisted on the host machine. You can find this data in the `./bwdata` directory relative to your bitwarden installation. The Docker containers themselves are to be considered ephemeral and do not persist data or state.

View File

@@ -7,7 +7,7 @@ popular: false
tags: [hosting, environment]
---
By default, client applications such as the browser extensions and mobile apps all talk to the bitwarden cloud servers. If you are hosting your own bitwarden installation you will want to change your client applications to talk to your instance instead of the bitwarden cloud servers.
By default, client applications such as the browser extensions and mobile apps all talk to the Bitwarden cloud servers. If you are hosting your own bitwarden installation you will want to change your client applications to talk to your instance instead of the Bitwarden cloud servers.
## Change Client Application Environment

View File

@@ -7,7 +7,7 @@ popular: false
tags: [hosting, docker, install, deploy]
---
This article will walk you through how to install and deploy bitwarden to your own server. Because bitwarden is a cross platform application, you can install and deploy it on Linux, macOS, and Windows machines.
This article will walk you through how to install and deploy Bitwarden to your own server. Because Bitwarden is a cross platform application, you can install and deploy it on Linux, macOS, and Windows machines.
## Table of Contents
@@ -15,9 +15,9 @@ This article will walk you through how to install and deploy bitwarden to your o
- [System Requirements](#system-requirements)
- [Configure Your Domain](#configure-your-domain)
- [Install Docker](#install-docker)
- [Install bitwarden](#install-bitwarden)
- [Install Bitwarden](#install-bitwarden)
- [Post-install Environment Configuration](#post-install-environment-configuration)
- [Start bitwarden](#start-bitwarden)
- [Start Bitwarden](#start-bitwarden)
- [Script Commands](#script-commands)
## TL;DR
@@ -25,7 +25,7 @@ This article will walk you through how to install and deploy bitwarden to your o
1. Set DNS records for a domain name pointing to your machine. Open ports 80 and 443 on the machine.
2. Install [Docker](https://docs.docker.com/engine/installation/){:target="_blank"} and [Docker Compose](https://docs.docker.com/compose/install/){:target="_blank"}.
3. Get an installation id and key from [https://bitwarden.com/host](https://bitwarden.com/host){:target="_blank"}.
4. Install & deploy bitwarden.
4. Install & deploy Bitwarden.
{% icon fa-linux %} {% icon fa-apple %} Bash
@@ -63,15 +63,15 @@ This article will walk you through how to install and deploy bitwarden to your o
## Configure Your Domain
By default, bitwarden will be served through ports 80 (http) and 443 (https) on the localhost machine. You should open these ports so that bitwarden can be accessed from within and/or outside of the network. You can choose different ports during installation if you like.
By default, Bitwarden will be served through ports 80 (http) and 443 (https) on the localhost machine. You should open these ports so that Bitwarden can be accessed from within and/or outside of the network. You can choose different ports during installation if you like.
It you are serving bitwarden to the outside world you will need to configure a domain name with DNS records that point to your host machine (ex. bitwarden.company.com). *You should configure this domain before beginning your bitwarden installation.*
It you are serving Bitwarden to the outside world you will need to configure a domain name with DNS records that point to your host machine (ex. bitwarden.company.com). *You should configure this domain before beginning your Bitwarden installation.*
Alternatively, if you are only testing you can install bitwarden to the "localhost" domain.
Alternatively, if you are only testing you can install Bitwarden to the "localhost" domain.
## Install Docker
bitwarden will be deployed and ran on your machine using an array of [Docker](https://www.docker.com/what-docker){:target="_blank"} containers. bitwarden will work equally well with Docker Community (free) and Enterprise editions. You should evaluate which edition is best for your installation. Additionally, deployment of these containers is orchestrated through the use of [Docker Compose](https://docs.docker.com/compose/){:target="_blank"}. Docker and Docker Compose must first be installed on your machine before beginning a bitwarden installation.
Bitwarden will be deployed and ran on your machine using an array of [Docker](https://www.docker.com/what-docker){:target="_blank"} containers. Bitwarden will work equally well with Docker Community (free) and Enterprise editions. You should evaluate which edition is best for your installation. Additionally, deployment of these containers is orchestrated through the use of [Docker Compose](https://docs.docker.com/compose/){:target="_blank"}. Docker and Docker Compose must first be installed on your machine before beginning a Bitwarden installation.
See the following official Docker documentation for more information:
@@ -82,15 +82,15 @@ See the following official Docker documentation for more information:
Some Docker installations such as Windows and macOS already come with Docker Compose installed.
{% endnote %}
For reference, you can find the official bitwarden images hosted on Docker Hub at [https://hub.docker.com/u/bitwarden/](https://hub.docker.com/u/bitwarden/){:target="_blank"}.
For reference, you can find the official Bitwarden images hosted on Docker Hub at [https://hub.docker.com/u/bitwarden/](https://hub.docker.com/u/bitwarden/){:target="_blank"}.
## Install bitwarden
## Install Bitwarden
We've made installing bitwarden very simple. Depending in your environment (non-Windows vs. Windows) we provide Bash (Linux and macOS) and PowerShell (Windows) scripts to aide in installing and managing your bitwarden installation. The following steps will include references for both Bash and PowerShell.
We've made installing Bitwarden very simple. Depending in your environment (non-Windows vs. Windows) we provide Bash (Linux and macOS) and PowerShell (Windows) scripts to aide in installing and managing your bitwarden installation. The following steps will include references for both Bash and PowerShell.
1. Download the main bitwarden script to your machine in the desired location:
1. Download the main Bitwarden script to your machine in the desired location:
{% note %}All bitwarden assets will be installed in the `./bwdata` directory relative to where the main bitwarden script resides.{% endnote %}
{% note %}All Bitwarden assets will be installed in the `./bwdata` directory relative to where the main Bitwarden script resides.{% endnote %}
{% icon fa-linux %} {% icon fa-apple %} Bash
@@ -117,7 +117,7 @@ We've made installing bitwarden very simple. Depending in your environment (non-
**SSL Certificate**
- bitwarden can generate and maintain renewal of a trusted SSL certificate for your domain for completely free provided by [Let's Encrypt](https://letsencrypt.org){:target="_blank"} and [Certbot](https://certbot.eff.org){:target="_blank"}. Certificate renewal checks occur each time bitwarden is restarted.
- Bitwarden can generate and maintain renewal of a trusted SSL certificate for your domain for completely free provided by [Let's Encrypt](https://letsencrypt.org){:target="_blank"} and [Certbot](https://certbot.eff.org){:target="_blank"}. Certificate renewal checks occur each time bitwarden is restarted.
- If you already have your own SSL certificate you can place the following files in the `./bwdata/ssl/your.domain.com` directory:
- certificate.crt (required). If not done so already, you may need to bundle your primary certificate with any intermediate certificates provided by the CA or else you will receive SSL trust errors. ex. `cat domain.crt ca.crt >> certificate.crt`. [See here](https://www.google.com/search?q=nginx+ssl+bundle+certificate+and+ca){:target="_blank"} for more information.
@@ -129,19 +129,19 @@ We've made installing bitwarden very simple. Depending in your environment (non-
**Installation Id/Key**
Each bitwarden installation requires a unique installation id and installation key. The installation id and key is used to:
Each Bitwarden installation requires a unique installation id and installation key. The installation id and key is used to:
1. Register your installation and contact email so that we can contact you in case of important security updates
2. Validate licensing of paid features
3. Authenticate to push relay servers for push notifications (see below)
You should not share your installation id or installation key across multiple bitwarden installations. They should be treated as secrets.
You should not share your installation id or installation key across multiple Bitwarden installations. They should be treated as secrets.
You can obtain an installation id and key from [https://bitwarden.com/host](https://bitwarden.com/host){:target="_blank"}.
**Push Notifications**
If you would like to take advantage of having push notifications automatically keep your bitwarden client applications synced in real time you can choose to use the bitwarden push notification relay service. This relay service is provided by external bitwarden servers. You should ensure that your machine can communicate with the `https://push.bitwarden.com` endpoint. Your bitwarden installation will POST **non-sensitive data** (reference ids) to the push relay service which will then notify the bitwarden client applications to "phone home" back to **your installation** for an update.
If you would like to take advantage of having push notifications automatically keep your Bitwarden client applications synced in real time you can choose to use the bitwarden push notification relay service. This relay service is provided by external Bitwarden servers. You should ensure that your machine can communicate with the `https://push.bitwarden.com` endpoint. Your Bitwarden installation will POST **non-sensitive data** (reference ids) to the push relay service which will then notify the Bitwarden client applications to "phone home" back to **your installation** for an update.
The use of the push notification relay service is optional. If you do not use this service you will need to keep your client applications in sync manually.
@@ -164,12 +164,12 @@ globalSettings__mail__smtp__useDefaultCredentials=false
If you plan to use YubiKeys for two-step login, you can get your YubiKey client id and key at [https://upgrade.yubico.com/getapikey/](https://upgrade.yubico.com/getapikey/){:target="_blank"}.
## Start bitwarden
## Start Bitwarden
Once you've completed installing and configuring your bitwarden installation you can start it up:
Once you've completed installing and configuring your Bitwarden installation you can start it up:
{% note %}
The first time you start bitwarden it may take some time as it downloads all of the images from Docker Hub.
The first time you start Bitwarden it may take some time as it downloads all of the images from Docker Hub.
{% endnote %}
{% icon fa-linux %} {% icon fa-apple %} Bash
@@ -186,7 +186,7 @@ You can then verify that all containers are up and running correctly:
{% image hosting/docker-ps.png %}
Finally, you need to initialize and update the bitwarden database:
Finally, you need to initialize and update the Bitwarden database:
{% icon fa-linux %} {% icon fa-apple %} Bash
@@ -196,11 +196,11 @@ Finally, you need to initialize and update the bitwarden database:
.\bitwarden.ps1 -updatedb
Congratulations! bitwarden is now up and running at `https://your.domain.com`. Visit the web vault in your web browser to confirm. You should register a new account and log in.
Congratulations! Bitwarden is now up and running at `https://your.domain.com`. Visit the web vault in your web browser to confirm. You should register a new account and log in.
## Script Commands
The bitwarden main script (`bitwarden.sh` or `bitwarden.ps1`) has the following commands available:
The Bitwarden main script (`bitwarden.sh` or `bitwarden.ps1`) has the following commands available:
{% note %}
PowerShell users will run the commands with a prefixed `-` (switch). For example `.\bitwarden.ps1 -start`.

View File

@@ -7,23 +7,23 @@ popular: false
tags: [hosting, licensing]
---
Hosting bitwarden yourself is free. However, some features of bitwarden require that you obtain a paid license in order to unlock.
Hosting Bitwarden yourself is free. However, some features of Bitwarden require that you obtain a paid license in order to unlock.
## Premium Membership
Using premium features of bitwarden in a self-hosted installation requires that you obtain a premium membership license.
Using premium features of Bitwarden in a self-hosted installation requires that you obtain a premium membership license.
1. If you haven't already, purchase a premium membership by logging in to your bitwarden.com account at <https://vault.bitwarden.com> and navigating to **Settings** &rarr; **Go Premium**.
2. Download your premium license file from <https://vault.bitwarden.com> by navigating to **Settings** &rarr; **Billing** &rarr; **Download License**.
3. Log in to the web vault of your self-hosted bitwarden installation. Ensure that the email address used for your user account on your self-hosted installation matches the email address used on your bitwarden.com account. Also make sure that your account's email address is verified.
3. Log in to the web vault of your self-hosted Bitwarden installation. Ensure that the email address used for your user account on your self-hosted installation matches the email address used on your bitwarden.com account. Also make sure that your account's email address is verified.
4. In your self hosted installation's web vault, navigate to **Settings** &rarr; **Go Premium**.
5. Upload the license file that you downloaded in step 2 and your user account will upgraded to premium.
## Organization Account (Sharing)
The sharing features of bitwarden require that you create an organization account. To create an organization in an on-premise hosted bitwarden installation you must first obtain a **families organization** (for personal use) or **enterprise organization** (for business use) license. Only families and enterprise organization plans are eligible for on-premise hosting.
The sharing features of Bitwarden require that you create an organization account. To create an organization in an on-premise hosted Bitwarden installation you must first obtain a **families organization** (for personal use) or **enterprise organization** (for business use) license. Only families and enterprise organization plans are eligible for on-premise hosting.
1. If you haven't already, purchase a families or enterprise organization plan by logging in to your bitwarden.com account at <https://vault.bitwarden.com> and navigating to **Settings** &rarr; **New Organization**. If you would like to upgrade an existing organization account to a families or enterprise plan, please [contact bitwarden support](https://bitwarden.com/contact).
2. Download your families or enterprise organization license file from <https://vault.bitwarden.com> by navigating to your organization's admin area, and then **Settings** &rarr; **Billing &amp; Licensing** &rarr; **Download License**. Enter the [installation id]({% link _articles/hosting/install-on-premise.md %}#install-bitwarden) that matches your bitwarden installation. You can always locate your installation id in the `./bwdata/env/global.override.env` configuration file.
3. Log in to the web vault of your self-hosted bitwarden installation and navigate to **Settings** &rarr; **New Organization**.
3. Log in to the web vault of your self-hosted Bitwarden installation and navigate to **Settings** &rarr; **New Organization**.
5. Upload the license file that you downloaded in step 2 and your organization account will be created.

View File

@@ -7,9 +7,9 @@ popular: false
tags: [hosting, update]
---
It is very important to keep your bitwarden installation up to date. Updates may include fixes that are important for the security of your bitwarden installation. Additionally, newer versions of client applications such as the browser extension and/or mobile apps may not support older versions of your self-hosted bitwarden server.
It is very important to keep your Bitwarden installation up to date. Updates may include fixes that are important for the security of your Bitwarden installation. Additionally, newer versions of client applications such as the browser extension and/or mobile apps may not support older versions of your self-hosted Bitwarden server.
We have made updating your bitwarden installation very simple. Use the same bitwarden Bash (macOS and Linux) or PowerShell (Windows) script that you obtained while installing bitwarden to your server to update your bitwarden installation. Run the following sequence of commands:
We have made updating your Bitwarden installation very simple. Use the same Bitwarden Bash (macOS and Linux) or PowerShell (Windows) script that you obtained while installing Bitwarden to your server to update your Bitwarden installation. Run the following sequence of commands:
{% icon fa-linux %} {% icon fa-apple %} Bash
@@ -21,7 +21,7 @@ We have made updating your bitwarden installation very simple. Use the same bitw
.\bitwarden.ps1 -updateself
.\bitwarden.ps1 -update
Your bitwarden installation should now be fully up to date and running.
Your Bitwarden installation should now be fully up to date and running.
{% tip %}
Create a cronjob or scheduled task to run these update commands weekly, or even nightly. This will automaticallty keep your installation up to date.

View File

@@ -7,6 +7,6 @@ popular: false
tags: [platforms, hosting, docker]
---
bitwarden is a cross-platform application that is deployed using Docker Linux containers. This means that bitwarden can be hosted on Linux, macOS, and Windows machines.
Bitwarden is a cross-platform application that is deployed using Docker Linux containers. This means that Bitwarden can be hosted on Linux, macOS, and Windows machines.
You can read more about Docker and container technologies at [https://www.docker.com/what-docker](https://www.docker.com/what-docker){:target="_blank"}.