Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (2024)

CE

Prerequisites

For this tutorial, you will need:

  • A minimal Ubuntu 24.04 server.
  • A domain / host name pointing to your server, or at least being able to reach your server through a static IP address.
  • A working SMTP server for email notifications
  • A working NTP service to avoid GPG authentication issues

The recommended server requirements are:

  • 2 cores
  • 2GB of RAM

FAQ pages:

  • Set up NTP
  • Firewall rules

Please note

It is important that you use a vanilla server with no other services or tools already installed on it. The install scripts could potentially damage any existing data on your server.

Pro tip

If you are going to manually provision SSL certificates you may want to do that before beginning!

Package repository setup

For easier installation and update tasks Passbolt provides a packagerepository that you need to setup before you download Passbolt CE and install it.


Step 1. Download our dependencies installation script:

Step 2. Download our SHA512SUM for the installation script:

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

Step 3. Ensure that the script is valid and execute it:

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

Configure mariadb

If not instructed otherwise passbolt Debian package will install mariadb-server locally. This step will help you createan empty mariadb database for passbolt to use.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (1)

The configuration process will ask you for the credentials of the mariadb admin user to create a new database. By default in mostinstallations the admin username would be root and the passwordwould be empty.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (2)
Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (3)

Now we need to create a mariadb user with reduced permissionsfor passbolt to connect. These values will also be requested later on thewebconfiguration tool of passbolt so please keep them in mind.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (4)
Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (5)

Lastly we need to create a database for passbolt to use, for that we need to name it:

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (6)

Configure nginx for serving HTTPS

Depending on your needs there are two different options to setup nginx and SSL using the

Ubuntu

package:

  • Auto (Using Let's Encrypt)
  • Manual (Using user-provided SSL certificates)

2. Configure passbolt

Before you can use the application, you need to configure it. Point your browser to the hostname / ip where passboltcan be reached. You will reach a getting started page.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (7)

2.1. Healthcheck

The first page of the wizard will tell you if your environment is ready for passbolt. Solve issues if any and click on"Start configuration" when ready.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (8)

2.2. Database

This step is about telling passbolt which database to use. Enter the host name, port number, database name, username and password.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (9)

2.3. GPG Key

In this section you can either generate or import a GPG key pair. This key pair will be used by passbolt API to authenticate itself during the login handshake process.Generate a key if you don't have one.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (10)

Optional

Import a key if you already have one and you want your server to use it.

To create a new GnuPG key without passphrase:

gpg --batch --no-tty --gen-key <<EOF
Key-Type: default
Key-Length: 2048
Subkey-Type: default
Subkey-Length: 2048
Name-Real: John Doe
Name-Email: [emailprotected]
Expire-Date: 0
%no-protection
%commit
EOF

Feel free to replace Name-Real and Name-Email with your own.

To display your new key:

gpg --armor --export-secret-keys [emailprotected]
Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (11)

2.4. Mail Server (SMTP)

At this stage, the wizard will ask you to enter the details of your SMTP server.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (12)

You can also test that your configuration is correct by using the test email feature at the right of your screen. Enter the email address at which you want the wizard to send you a test email and click on "Send test email".

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (13)

2.5. Preferences

The wizard will then ask you what preferences you prefer for your instance of passbolt. The recommended defaults are already pre-populated but you can also change them if you know what you are doing.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (14)

2.6. First User Creation

You need to create the first admin user account. This first admin user is probably you, so enter your details and click on next.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (15)

2.7. Installation

That's it. The wizard has now enough information to proceed with the configuration of passbolt. Sit back and relax for a few seconds while the configuration process is going on.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (16)

Your user account is now created. You will see a redirection page for a few second and then will be redirected to the user setup process so that you can configure your user account.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (17)

2.8. HTTPS setup process

Depending on your needs there are two different options to setup nginx and SSL using the package:

  • Auto (Using Let's Encrypt)
  • Manual (Using user-provided SSL certificates)

3. Configure your administrator account

3.1. Download the plugin

Before continuing passbolt will require you to download its plugin. If you already have it installed you can go to the next step.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (18)

3.2. Create a new key

Passbolt will ask you to create or import a key that will be later use to identify you and encrypt your passwords. Your key needs to be protected by a password. Choose it wisely, it will be the gatekeeper to all your other passwords.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (19)

3.3. Download your recovery kit

This step is essential. Your key is the only way to access your account and passwords. If you lose this key (by breaking or losing your computer and not having a backup for example), your encrypted data will be lost even if you remember your passphrase.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (20)

3.4. Define your security token

Choosing a color and a three characters token is a secondary security mechanism that helps you to mitigate phishing attacks. Each time you are performing a sensitive operation on passbolt, you should see this token.

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (21)

3.5. That's it!

Your administrator account is configured. You will be redirected to the login page of passbolt. Enjoy!

Install Passbolt on Ubuntu 24.04 | Passbolt documentation. (2024)
Top Articles
How to Learn Data Entry: 9 Steps (with Pictures) - wikiHow
How Much Can a Landlord Charge for Carpet Replacement?
Skigebiet Portillo - Skiurlaub - Skifahren - Testberichte
Devotion Showtimes Near Xscape Theatres Blankenbaker 16
Section 4Rs Dodger Stadium
Kreme Delite Menu
Www.1Tamilmv.cafe
Washu Parking
Best Big Jumpshot 2K23
Wannaseemypixels
Delectable Birthday Dyes
Optimal Perks Rs3
How to Watch Braves vs. Dodgers: TV Channel & Live Stream - September 15
Locate Td Bank Near Me
Azeroth Pilot Reloaded - Addons - World of Warcraft
A Guide to Common New England Home Styles
FAQ: Pressure-Treated Wood
Los Angeles Craigs List
House Of Budz Michigan
Craigslist In Flagstaff
Parentvue Clarkston
bode - Bode frequency response of dynamic system
Fort Mccoy Fire Map
Understanding Genetics
Craigslist Apartments In Philly
Keyn Car Shows
The Powers Below Drop Rate
Vivification Harry Potter
Big Boobs Indian Photos
Tim Steele Taylorsville Nc
Frank Vascellaro
Craftsman Yt3000 Oil Capacity
Mawal Gameroom Download
Rock Salt Font Free by Sideshow » Font Squirrel
Robot or human?
Tgh Imaging Powered By Tower Wesley Chapel Photos
Samsung 9C8
Avance Primary Care Morrisville
Toth Boer Goats
Hometown Pizza Sheridan Menu
Engr 2300 Osu
Newsweek Wordle
1Exquisitetaste
Bekah Birdsall Measurements
Dwc Qme Database
Love Words Starting with P (With Definition)
2013 Honda Odyssey Serpentine Belt Diagram
Collision Masters Fairbanks
Enr 2100
Minecraft: Piglin Trade List (What Can You Get & How)
Used Sawmill For Sale - Craigslist Near Tennessee
Prologistix Ein Number
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 6671

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.