certbot - 1-fares/notes GitHub Wiki

Automate certbot installation and configuration

echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y python-certbot-apache -t stretch-backports

certbot --nginx -n --agree-tos --redirect --keep -m [email protected] -d hostname.domain.com