Skip to content

certbot

Fares edited this page Feb 5, 2019 · 1 revision

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 admin@domain.com -d hostname.domain.com
Clone this wiki locally