How to Install Let’s Encrypt on Debian 10 [Step-by-step Guide]

How To Install Lets Encrypt On Debian 10

Securing the website nowadays is a must. You can’t let others attack yours and the safety of your visitor, right? With that, you need to know how to install Let’s Encrypt on Debian 10. But, what is the Let’s Encrypt and how to make it work efficiently in your Debian? 

Before going gurther to the steps you’ll need, you have to make sure that you’s understood Let’s Envrypt. It’s an SSL certificate which will encrypt the information between server and browser to make it confidential. Here’s is the tutorial of installation for Debian.

Requirements before Installation

  1. Install debian 10

The very first requirement is installing debian 10 to make it works. After that, run it on your device.

  1. Running Apache

After that, running the Apache web server for debian 10.

  1. Fill the domain provider

The last requirement is checking the IP address of debian 10. Fill the domain provider of your Linux with the IP address recorded on Fully Qualified Domain Name.

How to Install Let’s Encrypt on Debian 10

  1. Install certbot

The very first step after you have Debian 10 is installing the certbot. This software will alow you to set up on web server. Insert these comments below before install:

$ sudo apt update

$ sudo apt install python-certbot-apache -t buster-backports

After that, proceed this step until it is finished. 

  1. Get the SSL for the domain

This part is very important after installing the Certbot. Input the command below before installing Let’s Encrypt. 

$ sudo certbot --apache -d your_domain -d www.your_domain
  1. Click T&A

Once you click enter, the box will show you some information regarding the email address for any security notice and urgent renewal. If you want to cancel, submit ‘c’. Scroll if you agree and you’ll find terms of service regarding installation of Let’s Encrypt. If you agree, click ‘a’ and then click enter.

  1. Sharing e-mail

One of the steps of how to install Let’s Encrypt on Debian 10 needs you to agree for sharing email adress with EFF Foundation. Type ‘Y’ for yes. Certbot will work for you by contacting the server of Let’s Encrypt to make sure that your request is valid.

  1. Directing HTTPs

After that, the dialogue box will show you the request of directing HTTPs. Choose redirect and it’s as option number 2. Type ‘2’ on the command, after that click ‘enter’. You’ll get the notification that your HTTP is now enabled until the expiry date on SSL certificate.

  1. Allow HTTPs

For security purpose and reason, you have to allow HTTPs traffic. If you miss this step, then how to install Let’s Encrypt on Debian 10 as administrator will fail. Submit the commands below:

$ sudo ufw allow 443/tcp
$ sudo ufw reload

And to check the status, submit the command:

$ sudo ufw status
  1. Verify

The last step is verifying the HTTPs on the website. This step only needs the user to go to browser and type the domain on URL bar. Pull down to see the certificate and choose general. You’ll see that the let’s encrypt has been installed and all information such as issued and expired are there.How to install Let’s encrypt on Debian 10 takes time, but the commands are simple. You have to properly input the command in order. Besides, you have to agree to the T&A or it won’t run on your Debian 10.