Search The Hostwinds Guides Knowledge Base

How to Install Let’s Encrypt

Share This Article [TheChamp-Sharing]

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



sudo dnf install certbot python2-certbot-apache


  • 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 -d -d
  • 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 -d -d

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-tos primers 

./certbot-auto certonly --standalone --email -d -d -d


Alternate Forms Of Installation

  • Install Certbot using the certbot-auto wrapper sctipt. This will grab dependencies from your web server OS.
chmod a+x ./certbot-auto
  • To run the recently downloaded certbot
  •  Query for additional primers
./certbot-auto --help>