So let us now see how to install this SSL certificate on our website. For installing the SSL certificate, we simply need to follow the guide here.
- First we need to add the repository by writing the following command-
sudo add-apt-repository ppa:certbot/certbot
- To automatically update this certificate 90 days on our domain, we need to install Certbot with the following command-
sudo apt install python-certbot-apache
- To check if the configuration of our apache server is good or not, we need to run the following command-
sudo apache2ctl configtest
- The next step is to check the status of our firewall with the following command-
sudo ufw status
- Then we need to allow the the firewall status with the following command-
sudo ufw allow 'Apache Full'
sudo ufw delete allow 'Apache'
- Then we need to enter our domain name to get obtain the SSL certificate as follows-
sudo certbot --apache -d your_domain -d www.your_domain
Then we need to enter the email address. After a few seconds our SSL certificate will get installed on the domain. Now if we visit our domain, we get the output as follows-



0 comments:
Post a Comment