Install nginx - apt-get install nginx

Open port 80 and 443

Install snap - apt-get install snapd

Update snap - sudo snap install core; sudo snap refresh core

Make snap available - sudo ln -s /snap/bin/certbot /usr/bin/certbot

Install snap test - sudo snap install hello-world

Log out and log back in to update path

Install certbot - sudo snap install --classic certbot

Make sure all nginx sites are under sites-enabled

Request certificate - sudo certbot --nginx

Certificates are under /etc/letsencrypt/live

Renew certificate - sudo certbot