diff options
Diffstat (limited to 'rafts/blog/passbolt-initial-impressions.html')
| -rw-r--r-- | rafts/blog/passbolt-initial-impressions.html | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/rafts/blog/passbolt-initial-impressions.html b/rafts/blog/passbolt-initial-impressions.html new file mode 100644 index 0000000..6d9a512 --- /dev/null +++ b/rafts/blog/passbolt-initial-impressions.html @@ -0,0 +1,143 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Ben Sanders Online Space</title> + <link rel="stylesheet" href="/assets/css/main.css"> + <!-- Privacy-friendly analytics by Plausible --> + <script async src="https://plausible.io/js/pa-JWiyAnkl2l96nMNDBD7OS.js"></script> + <script> + window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}}; + plausible.init() + </script> +</head> +<body> + <main> + <header> + <div class="wrap"> + <nav> + <a class="logo" href="/"><h1>Ben Sanders</h1></a> + <div class="nav-link"> + <a href="/">Home</a> + <a href="/about">About</a> + </div> + </nav> + </div> + </header> +<section id="post"> + <div class="wrap article-grid"> + <h2>Passbolt Initial Impressions</h2> + <small class="meta">Benjamin Sanders | 04 April 2023 | passbolt</small> + <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">&&</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">&&</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">)]></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> +</section> + </main> + <footer> + © Ben Sanders, 2026 + <!-- Default Statcounter code for My Personal Website + https://bensanders.net/ --> + <script type="text/javascript"> + var sc_project=13339537; + var sc_invisible=1; + var sc_security="af47feaa"; + </script> + <script type="text/javascript" + src="https://www.statcounter.com/counter/counter.js" + async></script> + <noscript><div class="statcounter"><a title="Web Analytics + Made Easy - Statcounter" href="https://statcounter.com/" + target="_blank"><img class="statcounter" + src="https://c.statcounter.com/13339537/0/af47feaa/1/" + alt="Web Analytics Made Easy - Statcounter" + referrerPolicy="no-referrer-when-downgrade"></a></div></noscript> + <!-- End of Statcounter Code --> + <a href="https://statcounter.com/p13339537/?guest=1">View My + Stats</a> + </footer> + </body> +</html>
\ No newline at end of file |
