![]() ![]() However, we also need to implement a mechanism for authenticating ourselves to the server. We now have SSL certificates to encrypt our communications to our server. When you are finished, you will have two files called nginx.key and nginx.crt in your /etc/nginx/ssl directory. This is asking for the domain name or IP address of your server. The most important question is the one that reads Common Name (e.g. ![]() This will ask you a series of questions about your site. ![]() Now, we can generate a self-signed SSL certificate by typing: sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt To begin, create a directory under the nginx configuration hierarchy that can be used to store our SSL files: sudo mkdir /etc/nginx/ssl This will encrypt our data during transfer so that outside parties cannot read our password information. ![]() We will be securing our communication with the server by using SSL. This will download and install the web server. Install the web server by typing: sudo apt-get update Now, we need to configure a web server to provide secure access to our file. Install NginxĪs a prerequisite to this tutorial, we assume that you have completed the previous guide and have a KeePass2 database file on your remote server. This will let you keep your passwords in a secure location while still allowing you to access the database from any of your devices. We will then show you how to connect to and use this remote database file with a local installation of KeePass2. In this guide, we will set up the server to provide secure access to our database file with nginx. In a previous guide, we discussed how to use kpcli to interact with KeePass database files on a remote server. KeePass2 is an application that allows you to store, manage, and generate strong passwords for your websites and applications, securely and easily. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |