How To Install And Configure Free SSL Certificate Using Let's Encrypt Bot For Dedicated Linux Apache Configured Web Server.
What is SSL?
SSL Stands for Secure Socket Layer which enables encryption -based internet connection protocol for providing privacy, secure authentication, integrity to internet connection. SSL eventually know to be the TLS which stands for Transportation layer security.
Lab Work :-
1. Create a Resource Group .
2. Create a virtual-network into the resource group.
>> Create a web-subnet inside the azure-virtual-network which will contain the web-server.
>> Command to install Apache2 is "apt install apache2".
6. Allow HTTP and HTTPS port to the web-server in Networking tab.
>> Then your website will be operational, and you can view it by making a Google request to the server's IP address.
7. Create Dns Zones in Azure to map a custom Dns with your Website.
>> Add the name server to the manage dns section of your domain registar.
>> Your get free domain from NameCheap.
>> Create records to enable SSL.
>> In IP address section provide the IP address of the server in which your website is up and running.
>> Then your website will be operational, and you can view it by making a Google request to the "your custom domain."
1. Install the certbot-repo into your server using the command:- sudo
add-apt-repository ppa:certbot/certbot.
2. Command to install the Python CertBot :- sudo apt install certbot python3-certbot-apache
>> Then specify the server details into the nano editor.
>> command to open the nano editor in the required directory is :-
sudo nano /etc/apache2/sites-available/<your-custom-domain>.conf
>> Enter the server details into the nano editor file and save the file With command ctrl+x and y.
if the status syntax is "OK " in that case your config the Free SSL certificate using Let's encrypt.
>>Obtaining the SSL certificate command is :- sudo certbot --apache
>> Configure other details as shown below.
>> >> Then your website will be operational, and you can view it by making a Google request to the "your custom domain. with SSL configured.
>> In case of any other error while configuring "Lets Encrypt Cert-Bot" Check out the blog by Digital Ocean
Additional Information :-
Some of the Top books for learning python for Automation and Bots construction .