Log inSign up

Passbolt Community Edition for team password sharing

Add the Passbolt repository with its verified setup script, run sudo apt install passbolt-ce-server, and let the package configure MariaDB, Nginx and a Let's Encrypt certificate for pass.example.net. Then open the site in a browser with the Passbolt extension, complete the web wizard (database check, server GPG key, SMTP relay, first admin) and confirm everything with the built-in health check.

Topic: Self-hosted apps · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13 · Updated 2026-12-03

What makes Passbolt different and what do you need?

Passbolt is built for teams: every secret is encrypted with OpenPGP for each user who may read it, and sharing happens per password or per folder with groups. The browser extension does the encryption, so the server stores only ciphertext. That design means each person signs in with a private key held by the extension rather than a plain password.

Before installing:

  • A fresh Ubuntu 24.04 or Debian 12 server (check the Passbolt docs for newer releases they support). The package expects a clean machine and installs its own web server and database.
  • A host name such as pass.example.net with A and AAAA records already live, so the certificate request succeeds.
  • An SMTP account: Passbolt sends invitations and recovery links by mail and the setup will not finish without one.
  • At least 2 GB of memory for PHP, MariaDB and Nginx together.

Start from a normal sudo user, as in your first SSH session.

How do you add the repository safely?

Download the repository setup script and its published checksum file, verify the script, and only then run it.

sudo apt update && sudo apt full-upgrade -y
cd /tmp
curl -LO https://download.passbolt.com/ce/installer/passbolt-repo-setup.ce.sh
curl -LO https://github.com/passbolt/passbolt-dep-scripts/releases/latest/download/passbolt-ce-SHA512SUM.txt
sha512sum -c passbolt-ce-SHA512SUM.txt

The last command must print OK for the script. If it does not, delete the file and download it again rather than running it. With a good checksum:

sudo bash ./passbolt-repo-setup.ce.sh
apt policy passbolt-ce-server

The script adds the signing key and source list; apt policy shows the version that will be installed.

How do you install the server package?

Install passbolt-ce-server and answer the configuration prompts; they create the database and the Nginx site for you.

sudo apt install -y passbolt-ce-server

The prompts ask, in order:

  • Create the MariaDB database? Yes. Give a MariaDB admin user and password, then a separate Passbolt database user, password and database name.
  • Configure Nginx? Yes.
  • SSL setup: choose the automatic option to get a Let's Encrypt certificate, then enter pass.example.net and an email address for certificate notices.

Open the firewall for web traffic and check that Nginx answers on HTTPS:

sudo ufw allow OpenSSH
sudo ufw allow 'Nginx Full'
sudo ufw enable
sudo nginx -t
curl -I https://pass.example.net

If you skipped the automatic certificate, run sudo certbot --nginx -d pass.example.net later; the Certbot guide covers renewal checks.

How do you finish the web setup?

Install the Passbolt browser extension, open https://pass.example.net, and follow the wizard to completion.

  1. The first screen checks PHP modules, folder permissions and HTTPS. Fix anything marked red before continuing.
  2. Enter the database details you chose during the package install.
  3. Generate the server OpenPGP key. Use a real name and an address on your domain.
  4. Fill in the SMTP settings and send a test message (next section).
  5. Keep the default preferences unless you have a reason to change them.
  6. Create the first administrator with name and email.

The browser then moves to account setup: the extension generates your personal key pair and asks for a passphrase. Download the recovery kit it offers and store it offline. Without the kit or the passphrase, nobody can recover that account.

How do you configure outgoing mail?

Point Passbolt at an authenticated SMTP relay on port 587 with TLS, either in the wizard or later under Administration, Email server.

Host:     smtp.example.net
Port:     587
TLS:      on (STARTTLS)
Username: pass@example.net
Password: your relay password
Sender:   Passbolt <pass@example.net>

Mail matters more here than in most apps, because every new user joins through an emailed link. Do not plan on direct delivery from the VPS over port 25: open a support ticket before relying on it. A relay account is the reliable route, and send app mail through an SMTP relay covers SPF and DKIM so invitations reach inboxes. Passbolt queues mail and sends it from a cron job the package installs; check it with cat /etc/cron.d/passbolt-ce-server.

How do you invite users and organise access?

Add people under Users, place them in groups, and share folders or single passwords with those groups rather than with individuals.

Each invited user receives an email, installs the extension and creates their own key, exactly as the admin did. A few habits keep a team vault healthy:

  • Create groups that match roles (ops, finance, support) and share with the group, so joiners and leavers need one change.
  • Give at least two people owner rights on every critical folder.
  • Turn on multi-factor authentication under Administration, then ask users to enrol TOTP.
  • Delete accounts of people who leave; their access ends at once, though secrets they saw should still be rotated.

How do you check health, back up and upgrade?

Run the healthcheck command after any change, back up the database plus the server keys and config, and upgrade through apt.

sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck" www-data

Every line should be green. For backups, the database alone is not enough: without the server key and passbolt.php the dump cannot be used.

sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake passbolt sql_export" www-data
sudo ls -lh /var/lib/passbolt/tmp/
sudo tar -czf /root/passbolt-keys-$(date +%F).tar.gz \
  /etc/passbolt/gpg/serverkey.asc /etc/passbolt/gpg/serverkey_private.asc /etc/passbolt/passbolt.php

The export command writes a timestamped SQL file into /var/lib/passbolt/tmp/ (the location may vary by version; the command prints it). Copy both archives off the server. To upgrade, run sudo apt update && sudo apt upgrade; the package runs database migrations, and a second healthcheck confirms the result. The optional daily backups add a whole-disk copy too.

What should you check if Passbolt fails?

Start with the healthcheck output and the Nginx and Passbolt logs; together they point at the broken part almost every time.

  • Wizard shows a blank page: PHP-FPM is not running; check systemctl status for the php-fpm unit shown by ls /run/php/.
  • No invitation mail: test the SMTP settings from the admin page, then check that the mail cron job is present.
  • Users cannot log in after a domain change: App.fullBaseUrl in /etc/passbolt/passbolt.php must match the new address.
sudo tail -n 50 /var/log/nginx/error.log
sudo tail -n 50 /var/log/passbolt/error.log

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
A1-2small team vault1 vCPU, 2 GB RAM, 50 GB NVMe$7.20/mo$43.20 for 6 months
A2-4larger team or extra services2 vCPU, 4 GB RAM, 100 GB NVMe$14.40/mo$43.20 for 3 months

Questions about Passbolt team password manager

Can I run Passbolt in Docker instead?

Yes, an official image and Compose file exist. The package route shown here is simpler on a dedicated VPS because it configures Nginx, MariaDB and the certificate in one step.

Do users need the browser extension?

Yes. The extension holds the private key and performs encryption, so the server never sees plain secrets. Mobile apps and a desktop app are also available.

What if a user loses their key and passphrase?

Their personal secrets cannot be decrypted. An admin can start account recovery if the organisation recovery policy was enabled beforehand; set that up early.

How many users can a small plan handle?

A 2 GB server handles a small team easily, because encryption happens in browsers. Move to 4 GB if you also run other services on the same machine.

Is Passbolt suitable for a single person?

It works, but it is designed around sharing. For one person or a family, Vaultwarden is lighter to run.