On this page
- What makes Passbolt different and what do you need?
- How do you add the repository safely?
- How do you install the server package?
- How do you finish the web setup?
- How do you configure outgoing mail?
- How do you invite users and organise access?
- How do you check health, back up and upgrade?
- What should you check if Passbolt fails?
- Questions
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.netwith 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.txtThe 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-serverThe 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-serverThe 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.netand 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.netIf 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.
- The first screen checks PHP modules, folder permissions and HTTPS. Fix anything marked red before continuing.
- Enter the database details you chose during the package install.
- Generate the server OpenPGP key. Use a real name and an address on your domain.
- Fill in the SMTP settings and send a test message (next section).
- Keep the default preferences unless you have a reason to change them.
- 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-dataEvery 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.phpThe 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 statusfor the php-fpm unit shown byls /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.fullBaseUrlin/etc/passbolt/passbolt.phpmust match the new address.
sudo tail -n 50 /var/log/nginx/error.log
sudo tail -n 50 /var/log/passbolt/error.logPlans that fit this guide
Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.
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.
More in Self-hosted apps
- Nextcloud on Nginx
- ownCloud Infinite Scale
- Seafile file sync
- Vaultwarden password vault
- Gitea Git hosting
- Forgejo Git server
- GitLab Community Edition
- Gogs Git service
- Wiki.js
- BookStack documentation
- Outline knowledge base
- Paperless-ngx documents
- n8n workflow automation
- Activepieces automation
- Plausible Analytics (Community Edition)
- Umami analytics
- Mattermost team chat
- Matrix Synapse with Element
- Jitsi Meet video calls
- ONLYOFFICE Docs with Nextcloud
- HashiCorp Vault secrets server
- OpenBao secrets management
- Infisical secrets manager
- Authelia SSO and forward auth
- Zitadel identity platform
- VS Code in the browser (code-server)
- Joplin Server for notes sync
- Firefly III personal finance
- Snipe-IT asset tracking
- Odoo ERP on Ubuntu or Debian
- ERPNext with frappe_docker
- Dolibarr ERP and CRM with Nginx
- Penpot design tool with Docker
- Planka kanban boards
- Leantime project management
- Wekan boards with Docker
- Cal.com scheduling
- Chatwoot support inbox
- Mautic marketing automation
- DocuSeal document signing
- Metabase dashboards
- Appwrite backend server
- Self-hosted Supabase
- PocketBase backend
- RustDesk relay server
- Traccar GPS tracking
- Redmine project tracker
- The Lounge IRC client
- CyberChef data toolbox
- Typebot chat forms
- AFFiNE workspace
- Overleaf Community Edition
- Neko shared virtual browser
- imgproxy image resizing
- NetBox network inventory
- UVdesk help desk
- YetiForce CRM