Secure Nginx with Let’s Encrypt on Debian 9

503

Let’s Encrypt is a free and open certificate authority developed by the Internet Security Research Group (ISRG). Certificates issued by Let’s Encrypt are trusted by almost all browsers today.

In this tutorial, we will explain how to use the Certbot tool to obtain a free SSL certificate for Nginx on Debian 9. We’ll also show how to configure Nginx to use the SSL certificate and enable HTTP/2.

Prerequisites

Ensure the following prerequisites are met before continuing with this tutorial:

  • Logged in as a user with sudo privileges.
  • Have a domain name pointing to your public server IP. We’ll use example.com.
  • Have Nginx installed by following these instructions
  • You have a server block for your domain. You can follow these instructions for details on how to create one.

Read more at LInuxize