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-encrypt

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.

Read Article :  Whatsapp may likely be banned in India

To SSH into your webserver you need to run the following command

#ssh kenin@techken.in

Inorder to SSH to your webserver from your windows machine you need to use Putty or else if you use a Linux distro then you can use OpenSSH

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.

Read Article :  C# - WPF - How to stop animation while mouse hovers over button

# cd letsencrypt

# sudo ./letsencrypt-auto certonly --standalone --agree-tos --redirect --duplicate --text --email admin@techken.in -d techken.in -d www.techken.in

While installing and configuring the lets encrypt, you need to stop your webserver and later you can start your webserver. 

Sources :

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

six − two =