{{tag>letsencrypt ssl dns}} ====== Letsencrypt certificate via DNS authentication ====== [[wiki:certbot_installation|Install certbot first]] Run following command for obtaining a wildcard certificate: certbot certonly --manual --preferred-challenges dns --agree-tos -d *.example.com Then follow certbot instructions for adding TXT record to your domain. Example of DNS bind9 record: ; Letsencrypt verification _acme-challenge TXT "xxxxxxxxxxx_xxxxxxxxxxxxx_xxxxxxxxxxxxxxxx" ====== See also ====== * [[wiki:obtain_letsencrypt_certificate_domain_multiple_ips|Obtain letsencrypt certificate for domain with multiple IPs]]