summaryrefslogtreecommitdiff
path: root/_site/blog/passbolt-initial-impressions.html
blob: 2062bc72d9785fbf015d0f8544d68326d7aa4f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!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">
    
    <!-- SEO Meta Tags -->
    <title>Ben Sanders – Network Administrator, Linux Enthusiast, Web Developer, and Technologist</title>
    <meta name="description" content="Ben Sanders is a Linux enthusiast and web developer sharing projects, thoughts, and resources on technology, open source, and simple web hosting.">
    <meta name="keywords" content="Ben Sanders, Linux, web development, open source, technologist, Sanders Technology, ben.sanders.life">
    <meta name="author" content="Ben Sanders">
  
    <!-- Open Graph / Facebook -->
    <meta property="og:title" content="Ben Sanders – Linux Nerd & Technologist">
    <meta property="og:description" content="Explore the online presence of Ben Sanders – a Linux enthusiast and web developer sharing thoughts, projects, and resources.">
    <meta property="og:url" content="https://ben.sanders.life">
    <meta property="og:image" content="https://bsand.net/assets/me.jpeg">
    <meta property="og:type" content="website">
  
    <!-- Twitter Card -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="Ben Sanders – Linux Nerd & Web Developer">
    <meta name="twitter:description" content="Visit the personal site of Ben Sanders to explore tech, open source, and minimalist web design.">
    <meta name="twitter:image" content="https://bsand.net/assets/me.jpeg">
  
    <!-- UI and Theme -->
    <meta name="theme-color" content="#b172bc">
    <link rel="stylesheet" href="/main.css">
    <script defer data-domain="ben.sanders.life" src="https://plausible.io/js/script.js"></script>
  </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>Made with ❤️ in Helen, GA</small><br />
	    <small>&copy; Ben Sanders, 2025</small>
    </footer>
    <!-- <script src="./index.js"></script> -->

    <script type="application/ld+json">
        {
          "@context": "https://schema.org",
          "@type": "Person",
          "name": "Ben Sanders",
          "url": "https://ben.sanders.life",
          "image": "https://bsand.net/assets/me.jpeg",
          "sameAs": [
            "https://github.com/bensanders",
            "https://linkedin.com/in/benasanders",
            "https://twitter.com/thebensanders"
          ],
          "jobTitle": "Web Developer & Linux Enthusiast"
        }
        </script>
        <!--  Default Statcounter code for My Personal Website https://ben.sanders.life/
        -->
        <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"
        href="https://statcounter.com/" target="_blank"><img class="statcounter"
        src="https://c.statcounter.com/13339537/0/af47feaa/1/" alt="Web Analytics"
        referrerPolicy="no-referrer-when-downgrade"></a></div></noscript>
        <!-- End of Statcounter Code -->
        <a href="https://statcounter.com/p13339537/?guest=1">View My Stats</a>
</body>
</html>