summaryrefslogtreecommitdiff
path: root/_site/blog/passbolt-initial-impressions.html
diff options
context:
space:
mode:
authorBenjamin Sanders <ben@sanders.life>2025-02-07 07:33:31 -0500
committerBenjamin Sanders <ben@sanders.life>2025-02-07 07:33:31 -0500
commita77bde84e2659d9df4899da8a5f31136372398cc (patch)
treefd7d1e47cc5ef23f1f11d34c70a099d9fa4f5b7b /_site/blog/passbolt-initial-impressions.html
initial commit
Diffstat (limited to '_site/blog/passbolt-initial-impressions.html')
-rw-r--r--_site/blog/passbolt-initial-impressions.html122
1 files changed, 122 insertions, 0 deletions
diff --git a/_site/blog/passbolt-initial-impressions.html b/_site/blog/passbolt-initial-impressions.html
new file mode 100644
index 0000000..a89ec28
--- /dev/null
+++ b/_site/blog/passbolt-initial-impressions.html
@@ -0,0 +1,122 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta content="Ben's Corner of the Web" property="og:title">
+ <meta content="Ben is a GNU/Linux nerd and these are his links" property="og:description">
+ <meta content="https://ben.sanders.life" property="og:url">
+ <meta content="https://bsand.net/assets/me.jpeg" property="og:image">
+ <meta content="#b172bc" data-react-helmet="true" name="theme-color">
+ <link rel="stylesheet" href="/main.css">
+ <title>Ben's Website</title>
+</head>
+
+<body>
+ <div id="website-container">
+ <ul class="navigation">
+ <li><a href="/" title="home">~/</a></li>
+ <li><a href="/about" title="about me">~/about</a></li>
+ <li><a href="/resume" title="my resume">~/resume</a></li>
+ <li><a href="/blog" title="my blog">~/blog</a></li>
+ <li><a href="/resources" title="resources">~/resources</a></li>
+ </ul>
+
+
+ <h1>Passbolt Initial Impressions</h1>
+ <p class="meta">Benjamin Sanders | 04 April 2023 | passbolt</p>
+ <p><img src="/assets/images/passbolt.png" alt="Image of a text that reads passbolt in black lettering" title="passbolt-logo" /></p>
+
+<p><a href="/assets/pdfs/Passbolt-Initial-Impressions.pdf">Download as a PDF</a></p>
+
+<p>So, today (4th of April 2023) I decided to spin up a Debian 11 VM to install passbolt to and try out self-hosting a password manager. I currently use 1Password and don’t really see myself switching to a self-hosted solution but figured there is no harm in trying out the “competition”.</p>
+
+<p>The install process so far has been super easy and CLI oriented. I decided to go with the non-Docker install because I like running things directly in the VM. Maybe I’m finally get old -shrug-</p>
+
+<p>Anyway, the process was basically going to https://www.passbolt.com/ce/debian and follow the instructions in CLI.</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>wget <span class="s2">"https://download.passbolt.com/ce/installer/passbolt-repo-setup.ce.sh"</span>
+wget <span class="s2">"https://github.com/passbolt/passbolt-dep-scripts/releases/latest/download/passbolt-ce-SHA512SUM.txt"</span>
+<span class="nb">sha512sum</span> <span class="nt">-c</span> passbolt-ce-SHA512SUM.txt <span class="o">&amp;&amp;</span> <span class="nb">sudo </span>bash ./passbolt-repo-setup.ce.sh <span class="o">||</span> <span class="nb">echo</span> <span class="s2">"Bad checksum. Aborting"</span> <span class="o">&amp;&amp;</span> <span class="nb">rm</span> <span class="nt">-f</span> passbolt-repo-setup.ce.sh
+<span class="nb">sudo </span>apt <span class="nb">install </span>passbolt-ce-server
+</code></pre></div></div>
+
+<p>One thing I notice is that it installs certbot implying I should be using a domain and not attempting to this locally. Let’s see what happens when I try it locally anyway.</p>
+
+<p>Okay, it’s going to start off creating an empty database.</p>
+
+<p><img src="/assets/images/configuring-passbolt-mysql.png" alt="" /></p>
+
+<p>Saved the MySQL user and password in 1Password 😆 then got to the TLS section and hit none since I don’t have a domain to use currently. Looks like I can provide the IP of the server instead though which I’m entering in 192.168.1.173.</p>
+
+<p><img src="/assets/images/configuring-passbolt-domain-name.png" alt="" /></p>
+
+<p>Setting up PHP 7.4 and MariaDB 10.5 so a little out-of-date on the PHP but not too bad. We’re done!</p>
+
+<p><img src="/assets/images/configuring-passbolt-done.png" alt="" /></p>
+
+<p>Let’s go the server’s IP and see what it looks like now and get it configured.</p>
+
+<p>Cool as mentioned in the wiki I get the not yet configured page <a href="https://help.passbolt.com/hosting/install/ce/debian/debian.html">https://help.passbolt.com/hosting/install/ce/debian/debian.html</a></p>
+
+<p><img src="/assets/images/configuring-passbolt-not-configured-yet.png" alt="" /></p>
+
+<p>Entering in the database information</p>
+
+<p><img src="/assets/images/configuring-passbolt-db-connection.png" alt="" /></p>
+
+<p>🤔 Hmm getting that it can’t connect to the database.</p>
+
+<p><img src="/assets/images/passbolt-configuration-no-connection.png" alt="" /></p>
+
+<p>I know it’s online and I can connect.</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ben@passbolt-test:~<span class="nv">$ </span>mysql <span class="nt">-u</span> passboltadmin <span class="nt">-p</span>
+Enter password:
+Welcome to the MariaDB monitor. Commands end with <span class="p">;</span> or <span class="se">\g</span><span class="nb">.</span>
+Your MariaDB connection <span class="nb">id </span>is 41
+Server version: 10.5.18-MariaDB-0+deb11u1 Debian 11
+
+MariaDB <span class="o">[(</span>none<span class="o">)]&gt;</span> show databases<span class="p">;</span>
++--------------------+
+| Database |
++--------------------+
+| information_schema |
+| passboltdb |
++--------------------+
+</code></pre></div></div>
+
+<p>I know for sure MariaDB is running.</p>
+
+<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ben@passbolt-test:~<span class="nv">$ </span><span class="nb">sudo </span>systemctl status mariadb.service
+● mariadb.service - MariaDB 10.5.18 database server
+ Loaded: loaded <span class="o">(</span>/lib/systemd/system/mariadb.service<span class="p">;</span> enabled<span class="p">;</span> vendor preset: enabled<span class="o">)</span>
+ Active: active <span class="o">(</span>running<span class="o">)</span> since Tue 2023-04-04 11:47:04 EDT<span class="p">;</span> 11min ago
+</code></pre></div></div>
+
+<p>Found it!</p>
+
+<p>I was trying to use the server’s public IP and needed the local IP <code class="language-plaintext highlighter-rouge">127.0.0.1</code>.</p>
+
+<p>Source: <a href="https://community.passbolt.com/t/trying-to-configure-passbolt-database-configuration/5322">https://community.passbolt.com/t/trying-to-configure-passbolt-database-configuration/5322</a></p>
+
+<p>Got it going and got a neat message setting up. Lmao</p>
+
+<p><img src="/assets/images/configuring-passbolt-elon.png" alt="" /></p>
+
+<p>Tried setting up the iOS app but guess it won’t work without a TLS certificate of some kinds which makes sense. <a href="https://community.passbolt.com/t/oops-something-went-wrong-when-trying-to-set-up-mobile-transfers/5124">https://community.passbolt.com/t/oops-something-went-wrong-when-trying-to-set-up-mobile-transfers/5124</a></p>
+
+<p><img src="/assets/images/configuring-passbolt-mobile-setup.png" alt="" /></p>
+
+<p>All-in-all I’m going to keep trying out Passbolt but don’t see myself switching from 1Password to self-hosted but might be good to have a local backup.</p>
+
+ </div>
+ <footer>
+ <small>&copy; Ben Sanders, 2025</small>
+ </footer>
+ <!-- <script src="./index.js"></script> -->
+
+
+</body>
+</html>