How to : Install Free SSL Certificate using Let’s Encrypt
Let’s Encrypt offers free SSL certificate to everyone and for every domain in this world. The certification cost is $0 and the revocation fee was also $0. The only thing which cost was the time to revocate the certificate for every 90 days, other than that everything is free. Right now you need to have a valid domain or else you can also download the package from the letsencrypt website and configure the SSL for your local website or your public website.
Lets see how to configure the SSL certificate for your domain using Lets Encrypt.
SSH to your Server:
As the first step you need to SSH to your server. You also need to keep in mind that, right now lets encrypt can be installed right now only with the help of the SSH in your web server (If you have access to SSH). If you are not having the SSH connection to your webserver better you can ask your hosting provider to provide one with some extra bucks or you may need to upgrade your plan type.
To SSH into your webserver you need to run the following command
Download Let’s Encrypt:
After running the above command, it will ask for the password, enter your password and login to you webserver. After logging into your server you need to run the below code to download and install the let’s encrypt into your webserver.
# sudo apt-get update
# sudo apt-get install -y git
# sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
Install Let’s Encrypt:
After downloading the let’s encrypt package from the github, you can browse into the lets encrypt directory and stat installing the certificate.
# cd letsencrypt
# sudo ./letsencrypt-auto certonly --standalone --agree-tos --redirect --duplicate --text --email email@example.com -d techken.in -d www.techken.in
[note]While installing and configuring the lets encrypt, you need to stop your webserver and later you can start your webserver. [/note]