Install Passbolt on Ubuntu 22.04

From Notes_Wiki

Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 Passbolt setup > Install Passbolt on Ubuntu 22.04

Install Passbolt on Ubuntu 22.04

1. SSL Certificate Setup

Before starting the Passbolt installation, generate an SSL certificate to configure HTTPS properly.

Create a dedicated directory for your certificate:

sudo mkdir -p /etc/ssl/mycerts

Generate the certificate and private key inside this directory:

chmod 600 /etc/ssl/mycerts/passbolt.key
chown root:root /etc/ssl/mycerts/passbolt.key

2. Installing Passbolt on Ubuntu

Generate a self-signed certificate:

sudo openssl req -x509 -newkey rsa:4096 -keyout /etc/ssl/mycerts/passbolt.key -out /etc/ssl/mycerts/passbolt.crt -days 365 -nodes

Download the SHA512SUM for the installation script:

curl -LO https://github.com/passbolt/passbolt-dep-scripts/releases/latest/download/passbolt-ce-SHA512SUM.txt

Validate and execute the script:

sha512sum -c passbolt-ce-SHA512SUM.txt && sudo bash ./passbolt-repo-setup.ce.sh || echo "Bad checksum. Aborting" && rm -f passbolt-repo-setup.ce.sh

Install Passbolt official Linux package:

sudo apt install passbolt-ce-server

3. Configure MariaDB

During the installation, you will be prompted to configure MariaDB directly. No separate installation is needed.

  • Provide credentials for the MariaDB admin user to create a new database.
  • Create a MariaDB user with reduced permissions for Passbolt to connect.
  • Specify these credentials during the web configuration step later.

4. Configure HTTPS with Nginx

Passbolt will configure Nginx automatically during execution.

When prompted, choose the **manual option** to provide SSL keys:

  • Your domain name
  • SSL certificate path: /etc/ssl/mycerts/passbolt.crt
  • SSL key path: /etc/ssl/mycerts/passbolt.key

5. Complete Web Configuration

Access the Passbolt web interface using your server's IP: https://<IP-address>

Healthcheck

The wizard will check if your environment is ready for Passbolt. Resolve any issues and click **"Start configuration."**

Database Configuration

Enter:

  • Hostname
  • Port number
  • Database name
  • Username
  • Password

GPG Key Setup

Generate or import a GPG key pair used by the Passbolt API.

Mail Server Setup (SMTP)

Configure email settings for notifications.

Create Admin User

Complete the setup by creating an admin account.

Installation Complete

Your user account is now created, and Passbolt is ready to use!

Access it via: https://<IP-address>


Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 Passbolt setup > Install Passbolt on Ubuntu 22.04