These are some quick notes from installing Let’s encrypt on a Ubuntu server.

For anyone trying to do this I would recomend the Digital Ocean artical on this.
DigitalOcean Let’s Encrypt

Install applictions
apt install python-certbot-nginx letsencrypt

Modify nginx to add virtual host


        server_name *;

Run Certbot to generate certificate
certbot --nginx -d

Modify crontab to renew certificates

sudo crontab -e

15 3 * * * /usr/bin/certbot renew --quiet