Självhotell

Licensbetalda funktioner

Självvärd för Bitwarden är gratis, men vissa funktioner måste låsas upp i din självvärdade instans med en registrerad licensfil. En licensfil kan erhållas från den Bitwarden-värdade webbappen av antingen ett konto med ett premium individuellt abonnemang eller av ägaren till en organisation.

Stegen är olika när man arbetar med en enskild licens jämfört med en organisationslicens.

note

The procedures in this article assume that you have already started a paid subscription to Bitwarden. If you haven't, refer to About Bitwarden Plans and What Plan is Right for Me?

Individuell licens

Följ dessa procedurer när du arbetar med en individuell licens för en premiumprenumeration. Du kommer att arbeta i både molnwebbvalvet och ditt webbvalv som är värd för dig själv, och e-postadresserna för ditt konto bör matcha.

Hämta individuell licens

När du har skapat ett konto på din egen värdserver, hämta din licens från molnwebbappen:

  1. Logga in och välj InställningarPrenumeration från navigeringen.

  2. Välj knappen Ladda ner licens:

    Download personal license
    Download personal license

Ansök individuell licens

Logga sedan in på din självvärdade Bitwarden-server för att tillämpa den nedladdade licensen:

  1. Om du inte redan har gjort det, verifiera din e-postadress. Du måste ha konfigurerade SMTP-relaterade miljövariabler för att göra det.

  2. Välj InställningarPrenumeration från navigeringen.

  3. I avsnittet Licensfil, välj knappen Bläddra... eller Välj fil och lägg till den nedladdade licensfilen.

  4. Välj knappen Skicka för att tillämpa din premiumlicens.

Uppdatera individuell licens

Om du av någon anledning behöver uppdatera din individuella licensfil, till exempel när den löper ut:

  1. Följ stegen för att hämta din licens igen.

  2. Följ stegen för att tillämpa din licens igen, men den här gången kommer du att se knappen Uppdatera licens i stället för en knapp för att söka efter en ny licens.

Organisationslicens

Följ dessa procedurer när du arbetar med en organisationslicens för en familje- eller företagsorganisation. Du måste vara en organisationsägare för att hämta, tillämpa och uppdatera en licens.

Hämta organisationslicens

Innan du startar en organisation på din egen värdserver, hämta din organisationslicens från molnwebbappen.

  1. I Bitwarden-webbappen öppnar du administratörskonsolen med hjälp av produktväxlaren:

    Product switcher
    Product switcher
  2. Navigera till FaktureringPrenumeration.

  3. Rulla ned och välj knappen Ladda ner licens.

  4. När du uppmanas, ange installations-ID som användes för att installera din egen värdserver och välj Skicka. Om du inte känner till installations-ID:t kan du hämta det från ./bwdata/env/global.override.env.

note

Make sure that the installation ID you retrieved from bitwarden.com/host uses the same data region as where your organization exists.

Ansök organisationslicens

Genom att tillämpa din licens på en självvärderad server kan du skapa en egen värdorganisation. Från ditt webbvalv som är värd för dig själv:

  1. Starta en ny organisation genom att välja knappen Lägg till organisation.

  2. Välj knappen Bläddra... eller Välj fil, lägg till den nedladdade licensfilen och välj Skicka.

note

If you receive a version not supported error message, update your server and try uploading your license file again. To update your server, make a backup of the bwdata directory and follow these instructions.

Uppdatera organisationslicens

Organisationer kan behöva uppdatera licensfilen på sin egen värdserver, till exempel för att lägga till användarplatser eller när din licens löper ut. När din licens löper ut och din organisation förnyas har du 60 dagar på dig att tillämpa den uppdaterade licensfilen på din egen värdorganisation.

Det finns två metoder för att göra det, men familjeorganisationer får bara uppdatera manuellt:

Automatic billing sync unlocks Families sponsorships (only for Enterprise) and simplified license updating, preventing admins from needing to manually re-upload licenses, for example in the case of organization renewal. To set up automatic sync:

note

To successfully setup Automatic Billing Sync, an active subscription license is required. If a self-hosted organization has been setup from a cloud hosted organization still in its trial period, a license will have to be downloaded and applied to the self-hosted organization once the trial period is over. Learn more about paid subscriptions here.

Step 1: Enable cloud communication

First, you'll need to configure your server to allow communication with our cloud systems.

note

This step must be completed by someone with access to your self-hosted instance's configuration files.

In order to enable cloud communication, set the following line in bwdata/env/global.override.env to true:

Bash
globalSettings__enableCloudCommunication=true

Once you have set this value, apply your change by running the ./bitwarden.sh rebuild command. Start your server again with the ./bitwarden.sh start command.

note

Enabling automatic sync requires communication with Bitwarden's cloud systems. If your environment uses a firewall to block outbound traffic, you will need to allow https://api.bitwarden.com or .eu and https://identity.bitwarden.com or .eu.

Step 2: Retrieve billing sync token

Once cloud communication is enabled at the server-level, a sync token needs to be passed from the cloud organization you use for billing to your self-hosted organization. To retrieve your sync token from the cloud web app:

  1. Log in to the Bitwarden web app and open the Admin Console using the product switcher:

    Product switcher
    Product switcher
  2. Navigate to BillingSubscription.

  3. Scroll down to the self-hosting section and select the Set up billing sync button.

  4. Enter your master password and select Generate token.

  5. Copy the generated token.

Step 3: Apply billing sync token

To apply the billing sync token to your self-hosted organization:

  1. Open the self-hosted Admin Console and navigate to BillingSubscription.

  2. In the License and billing management section, choose the Automatic sync option.

  3. Select the Manage billing sync button.

  4. Paste your generated Billing Sync Token and select Save.

note

Sync for Families for Enterprise will occur once daily once you've triggered your first sync. The Last sync field in this section will report Never until you trigger your first sync.

Sync for license updates must always be done manually by selecting the Sync license button (see the next section for details).

Step 4: Trigger sync

Trigger a sync once you've completed setup and each time you need to update your license. Sync for Familes for Enterprise will occur once daily. To trigger a sync:

  1. Open the self-hosted Admin Console and navigate to OrganizationBilling.

  2. Select the Sync license button.

note

If you receive a version not supported error message, update your server and try uploading your license file again. To update your server, make a backup of the bwdata directory and follow these instructions.