Skip to content

Let's Encrypt

wget -c https://dl.eff.org/certbot-auto ./certbot-auto
openssl dhparam -out dhparam.pem 4096
./certbot certonly --webroot -w /var/www/html -d example.com -d www.example.com
24 15 * * 2,5 /path/to/certbot/certbot-auto renew --quiet --no-self-upgrade && systemctl reload nginx