Isaac Sloan - Web Developer, Photographer, Musician and Citizen of Earth
Banner700

Lets Encrypt Setup and Auto Renew (NGINX)

July 20, 2016

Installation and Setup

cd /usr/sbin
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto

Nginx Configuration

Add the following to your nginx server configuration block vim sites-enabled/yourdomain.com

  location ^~ /.well-known/ {
    root /usr/share/nginx/html;
  }

Add folder for well known mkdir -p /usr/share/nginx/html

LetsEncrypt Configuration

Lets Encrypt Setup and Auto Renew (NGINX)