Let's Encrypt wildcard

  • 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."
    }
sudo certbot certonly --manual --preferred-challenges=dns --email informatica@fidmag.org --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d *.fidmag.org
  • web/security/letsencrypt/wildcard.txt
  • Darrera modificació: 09/06/2026 10:00
  • per mate