Renew let’s encrypt SSL cert on Debian

A note for how I renew blahdns.com let’s encrypt SSL cert

// Renew
certbot certonly --cert-name dot-jp.blahdns.com --force-renewal

// Working method 1
certbot delete 

// After delete all cert
certbot certonly --rsa-key-size 4096 --standalone --agree-tos --no-eff-email --email [email protected] -d dot-de.blahdns.com -d doh-de.blahdns.com

// Merge SSL fullchain and privkey into 1 pem

cd /etc/letsencrypt/archive/dot-de.blahdns.com/
cat fullchain1.pem privkey1.pem > /etc/haproxy/dot-de.blahdns.pem

// restart HAProxy
service haproxy restart

Updated 25, June 2019

Photo by Jahsie Ault on Unsplash