Updated Certbot Guide
Nginx Install
sudo apt update
sudo apt install nginxCertbot
apt install python3 python3-venv libaugeas0
python3 -m venv /opt/certbot/
/opt/certbot/bin/pip install --upgrade pip
/opt/certbot/bin/pip install certbot certbot-nginx
ln -s /opt/certbot/bin/certbot /usr/bin/certbotInstall: cloudflare plugin
/opt/certbot/bin/pip install certbot certbot-dns-cloudflareOption 1: User nginx reverse proxy with certbot nginx
Make Nginx config:
Make nginx cert
Option 2: User nginx reverse proxy with certbot cloudflare
Cloudflare API token used by Certbot
Make Nginx config:
Root-Domain:
Sub-Domain:
Now test config and restart nginx:
Auto renew with cron
Extras
Http Password:
Last updated