# Certbot
# Install Certbot
wget -c https://dl.eff.org/certbot-auto ./certbot-auto
# Setup SSL Certificate
# Generate DHParams
openssl dhparam -out dhparam.pem 4096
# Request Certificate
./certbot certonly --webroot -w /var/www/html -d example.com -d www.example.com
# Setup Cron Job
24 15 * * 2,5 /path/to/certbot/certbot-auto renew --quiet --no-self-upgrade && systemctl reload nginx
# acme.sh
Last Update: 2024-11-11 03:26:18 Source File