Let’s Encrypt is a certificate authority created by the Internet Security Research Group (ISRG). It provides free SSL certificates via a fully automated process designed to eliminate manual certificate creation, validation, installation, and renewal.

Certificates issued by Let’s Encrypt are valid for 90 days from the issue date and trusted by all major browsers today.

This tutorial explains how to install a free Let’s Encrypt SSL certificate on Ubuntu 20.04, running Apache as a web server. We’ll also show how to configure Apache to use the SSL certificate and enable HTTP/2.

Prerequisites

Ensure the following prerequisites are met before you continue:

  • Logged in as root or user with sudo privileges .
  • The domain for which you want to obtain the SSL certificate must point to your public server IP. We’ll use example.com.
  • Apache installed .

Installing Certbot

We’ll use certbot to obtain the certificate. It is a command-line tool that automates the tasks for obtaining and renewing Let’s Encrypt SSL certificates.

The certbot package is included in the default Ubuntu repositories. Update the packages list and install certbot using the following commands:

sudo apt update
sudo apt install certbot

#ubuntu 20.04 #ubuntu #encrypt #apache

Secure Apache with Let's Encrypt on Ubuntu 20.04
5.75 GEEK