Create and Activate Users in Passbolt

From Notes_Wiki

Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 Passbolt setup > Create and Activate Users in Passbolt


Passbolt Setup on Ubuntu 24.04

1. SSL Certificate Setup

Before installing Passbolt, generate an SSL certificate for HTTPS.

1.1 Create Certificate Directory

sudo mkdir -p /etc/ssl/mycerts

1.2 Set Permissions

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

1.3 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

2. Installing Passbolt

2.1 Download the SHA512SUM File

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

2.2 Validate and Execute the Installer

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

2.3 Install Passbolt Package

sudo apt install passbolt-ce-server

3. Configure MariaDB

MariaDB is configured during installation.

  • Provide admin credentials to create the Passbolt database.
  • Create a user with limited privileges for Passbolt access.
  • These credentials will be used in the web configuration step.

4. Configure HTTPS with Nginx

Passbolt will configure Nginx automatically.

When prompted:

  • Choose manual SSL configuration.
  • Use the following paths:
 Certificate: /etc/ssl/mycerts/passbolt.crt
 Key: /etc/ssl/mycerts/passbolt.key

5. Web-Based Configuration Wizard

Visit in your browser: https://<IP-address>

5.1 Healthcheck

The wizard verifies environment readiness. Resolve any issues and click **Start configuration**.

5.2 Database Settings

Enter:

  • Hostname
  • Port
  • Database name
  • Username and password

5.3 GPG Key Setup

Generate or import a GPG key pair.

5.4 SMTP Mail Setup

Enter SMTP details for notification emails.

5.5 Admin Account Creation

Create the initial administrator user for Passbolt.

6. Installation Complete

You can now access and use Passbolt securely: https://<IP-address>

7. Passbolt User Creation and Configuration Steps

7.1 Admin Steps

  1. Log in as an admin user in your browser.
  2. Navigate to the Users tab.
  3. Click the Create button and select New user.
  4. Enter the user's details, including their email address.
  5. Click Save to create the user.
  6. The admin sends an invitation to the user's email address.

7.2 User Steps

  1. Open your email inbox.
  2. Find the Passbolt invitation and click on Get Started.

Note: The link expires; check the spam folder if it's not visible.

  1. Follow the link to the Passbolt setup page.
  2. Install the required Passbolt browser extension.
  3. Create a strong passphrase and click Next.
  4. Download and save your recovery key securely.This key is essential for account recovery.
  5. Choose a color for your security token and click Next.
  6. After completion, you can begin using your Passbolt account.



Home > Ubuntu > Ubuntu 22.04 > Ubuntu 22.04 Passbolt setup > Create and Activate Users in Passbolt