Let's Encrypt wildcard
info
renovación autmatizada auth.acme-dns.io
- primera vegada:
sudo curl -o /etc/letsencrypt/acme-dns-auth.py https://raw.githubusercontent.com/joohoi/acme-dns-certbot-joohoi/master/acme-dns-auth.py sudo chmod +x /etc/letsencrypt/acme-dns-auth.py sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges -d "*.fidmag.org" -d "fidmag.org"
- creat registre CNAME:
_acme-challenge.fidmag.org CNAME 1569f935-7bf3-4630-9c3d-5846ad7c956e.auth.acme-dns.io.
dig _acme-challenge.fidmag.org CNAME +short # execució manual sudo certbot certonly --manual \ --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py \ --preferred-challenges dns \ --debug-challenges \ -d "fidmag.org" \ -d "*.fidmag.org" [[ $? -eq 0 ]] && { echo "Renovación exitosa." }
cli
sudo certbot certonly --manual --preferred-challenges=dns --email informatica@fidmag.org --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.fidmag.org