Keeweb git6/19/2023 ![]() ![]() SSLCertificateKeyFile /your/private/key/path If you already have a ready-to-use domain or subdomain with HTTP and HTTPS working, you can skip this step. If you want to use an existing domain or subdomain for your KeeWeb installation : If you want to create a domain or subdomain for your KeeWeb installation : Step 3/3 - Setup Apache Create a virtual host configurationĪs you should know, Apache virtual hosts configuration files are located at /etc/apache2/sites-available. a path key, which value points to the KDBX file in your server.a name key, which value will be displayed in your app's home page.a storage key, which value will always be webdav for our use case.The files key is a list of files that can be opened out of the box, that's what we're interested in. In our use case, these features are useless, so they're all disabled. The rest defines whether the user can open files from external sources. The locale key accepts the following values to specify a theme : The theme key accepts the following values to specify a theme : The KeeWeb configuration is divided in two parts called settings (allowing to define the app's default behavior) and files (allowing to specify the default KDBX files to import). JavaScript Object Notation ( Wikipedia) is standardized data format, which, in this case, allows us to define KeeWeb's configuration. Create a folder which will contain your KDBX file(s).Step 2/3 - Import your KDBX file(s) Upload Upload the extracted files to your server.Download the archive into your computer.( NOTE : files will be extracted in the current folder) NOTE : pay attention to version number if you copy/paste the commands. html.zip file, which only contains the web files. KeeWeb's release files are available at the project's repository ( GitHub), we're more specifically looking for the latest. KeeWeb also requires a valid HTTPS certificate, therefore, you also need a domain name and eventually a subdomain, assuming that you know the basics of managing domains. Requirementsįor this tutorial, we'll be using an Apache ( official website) web server on Debian ( official website) operating system, assuming that you know the basics of them. WebDAV (Wikipedia) is a file transfer feature implemented within the HTTP protocol, allowing web applications like KeeWeb to upload a file from the client to the server without requiring any back-end. kdbx), thus saving you time not having to import it from your device/cloud. Therefore, the only purpose of self-hosting KeeWeb is self-hosting your password database file (. However, the case of KeeWeb is specific because it has no server-side : it only consists in a progressive web app ( Wikipedia) with front-end features. Well-known examples of self-hostable services are WordPress for blog editing and Nextcloud for file sharing. ![]() Self-hosting consists in hosting a service on the user's own server. KeeWeb is available via web browsers on all platforms including mobile, and also featured as an Electron ( official website) app on Windows, Linux and Mac operating systems. KeeWeb ( official website) is a web-based implementation of KeePass ( official website), an open source and offline password manager. How to self-host KeeWeb Introduction to KeeWeb Type in the path to your webdav and your username + password.Ĭongratulations! Your password manager is ready to use! Kategorien Howtos & more. I highly recommend to set a master password and a username! If you changed all your settings click on „Save as…“ and choose WebDAV. To do so, click on new in the bottom left corner. We want to save the database to our WebDAV to access it from everywhere. Go to your keeweb index page and click on new. ![]() If you enter the url you should see a login prompt and after this the keeweb index page. htaccess or add the authentication to your VHost like we setup above. Now we add the authentication to our keeweb site. Save it and type in: sudo a2ensite nf & sudo service apache2 reload Now we need to create a keeweb config for our apache: vi /etc/apache2/sites-available/nf This will create a keeweb folder in your /var/www/ directory. Install KeeWebįirst you need to install git: sudo apt install gitĪfter this you can clone the keeweb repository by typing in the following: cd /var/www/ Now test your settings by accessing /webdav. Save it and type in: sudo a2ensite nf & sudo service apache2 reload Type in: sudo vi /etc/apache2/sites-available/nf Now we are going to create a new config for WebDAV in apache2: Now create a new directory for WebDAV and make it only accessable for the apache user: mkdir /var/www/webdav To enable WebDAV on Apache2 you need to type in the following command: sudo a2enmod dav_fs WebDAV is needed to store your password database. To use the authentication you can add the following to your VHost configuration: To do so type in the following: sudo htpasswd -c /etc/apache2/.htpasswd username ![]()
0 Comments
Leave a Reply. |