JTCyberTech / Cybersecurity-Home-Labs

5 stars 1 forks source link

Part 3: Password Manager Configuration for HTTPS #35

Open JTCyberTech opened 1 year ago

JTCyberTech commented 1 year ago

Configurating the HTTPS settings for Passbolt

We have successfully installed Passbolt onto our AWS instance. We will have to configure it now.



- It will take us to a page that said "SSL access is not enabled". We will need to configurate SSL. - To configurate SSL, we will need a domain name (which will cost money to create one). - If you don't have one you can skip this part of the project.



- In order to enable SSL, We will need to associate our domain name with the IP address of the instance. - I am using Hostinger, so I will login then navigate to Domains and click on manage my Domain.



- Click on DNS / Nameservers on the left side bar.



- Under Manage DNS records type in the information: - Type: A - Host: @ - Points to: (the IP Address that I am running on my EC2) [3.239.25.101]. - TTL: 14400 - Click on "Add Record".



- Next we will need to setup our Nginx for SSL. - We will need to connect our EC2 instance to our Linux VM with SSH. - Head to Linux VM, in terminal type in: "ssh admin@3.239.25.101". [3.239.25.101] is our EC2 instance IP. - Type in: "yes" then Enter.



- Then in Linux VM on the terminal command line type in: "sudo nano /etc/nginx/sites-enabled/nginx-passbolt.conf" and Enter.



- In the file, type in your server name: JeffCyberCheck.tech - Press Ctrl + X to exit. - Press Y to save. - Press Enter.



- Then in Linux VM on the terminal command line type in: "sudo dpkg-reconfigure passbolt-ce-server" and Enter.



- The Configuration of passbolt-ce-server will appear. - Choose No and Enter for local mysql.



- Choose Yes and Enter for nginx server.



- Choose auto for SSL key and Enter.



- Put in our domain name: "jeffcybercheck.tech" and Enter.



- Put in your email address for your domain name if you have one: "jeff@jeffcybercheck.tech" and Enter. - passbolt-ce-server finished installing.



- Go back to the EC2 instance IP page. We will be able to access HTTPS now and SSL will be enabled.