Passbolt is an open source password manager with MariaDB backend.
Create directorys:
sudo mkdir /portainer/Files/AppData/Config/passbolt && \
sudo mkdir /portainer/Files/AppData/Config/passbolt/certs
Generate a proper Self-signed certificate. Type in the code below and change it to your needs:
sudo openssl req -x509 \
-newkey rsa:4096 \
-days 120 \
-subj "/C=LU/ST=Luxembourg/L=Esch-Sur-Alzette/O=Passbolt SA/OU=Passbolt IT Team/CN=passbolt.domain.tld/" \
-nodes \
-addext "subjectAltName = DNS:passbolt.domain.tld" \
-keyout /portainer/Files/AppData/Config/passbolt/certs/key.pem \
-out /portainer/Files/AppData/Config/passbolt/certs/cert.pem
This command will output two files: key.pem and cert.pem.
Of course, replace -subj values with your own. It is important to set your passbolt FQDN in both CN and subjectAltName.
You can use an IP address instead of a domain name for your self-signed certificate. If you do that, replace DNS with IP in subjectAltName. Example: IP:127.0.0.1
Goto App Templates and click on "Passbolt". Change Configuration to your needs:
Go into Passbolt container console. Type in the code below and change it to your needs:
su -s /bin/bash -c "./bin/cake \
passbolt register_user \
-u youremail@mail.net \
-f yourfirstname \
-l yourlastname \
-r admin" www-data
After that you get something like this:
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
-------------------------------------------------------------------------------
User saved successfully.
To start registration follow the link provided in your mailbox or here:
https://passbolt.local/setup/start/9fb7180d-b44b-41bf-bf77-8c5ab23e8cbc/966ce549-18ec-4b12-9171-9a1bb2f1a393
Now you should get an email. Open it and click on get starded
.
If you do not get an email:
You may have to accept self signed certificate and/or install Passbolt browser add-on.
Proceed with Welcome to Passbolt, please select a passphrase!
.
How to import SSL certificate on mobile application
In your desktop browser go to log in to Passbolt, navigate to your user > Mobile Transfer
and follow the steps.