Certbot
Installation
MacOS
brew install certbot
Linux
From https://certbot.eff.org/instructions?ws=nginx&os=ubuntufocal
Presuming snapd is already installed:
sudo snap install --classic certbot
You may need:
sudo ln -s /snap/bin/certbot /usr/bin/certbot
Get the cert:
sudo certbot certonly --nginx