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

Lets Encrypt Setup and Auto Renew (NGINX)

July 20, 2016

Installation and Setup

sudo su  - root # NOTE: This has to be run as root. Be very careful!
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;
  }
Lets Encrypt Setup and Auto Renew (NGINX)