Need help? Chat now!

Hostwinds Tutorials

Search results for:


Table of Contents


Installation
Fedora
Debian
Alternate Forms Of Installation

How to Install Let’s Encrypt

Tags: SSL 

Installation
Fedora
Debian
Alternate Forms Of Installation

Let's Encrypt is a Certificate Authority that lets you acquire an SSL certificate. For systems with shell access, it is recommended to install Certbot, an application that uses the ACME protocol. Certbot is packaged for many common operating systems and web servers.

Installation

Fedora

sudo dnf install certbot python2-certbot-apache

Debian

  • If you run Debian Stretch or Debian Sid, you can install certbot packages.
sudo apt update && sudo apt upgrade
sudo apt-get install certbot python-certbot-apache
  • How to obtain a certificate using the apache plugin.
certbot --apache -d example.com -d www.example.com -d other.example.net
  • If you are using Nginx you have to install the python-certbot-nginx plugin, then use the –nginx flag
apt install python-certbot-nginx
certbot --nginx -d example.com -d www.example.com -d other.example.net

When you initially run the command to obtain the certificate, certbot will create an account asking you for an email and agreement to the Let's Encrypt subscriber policy. You can automate that task by adding the --email & --agree-to primers

./certbot-auto certainly --standalone --email admin@example.com -d example.com -d www.example.com -d other.example.net

Alternate Forms Of Installation

  • Install Certbot using the certbot-auto wrapper script. This will grab dependencies from your web server OS.
wget https://dl.eff.org/certbot-auto
chmod a+x ./certbot-auto
  • To run the recently downloaded certbot
./certbot-auto
  • The query for additional primers
./certbot-auto --help>

Written by Hostwinds Team  /  April 24, 2018