> For the complete documentation index, see [llms.txt](https://til.yulrizka.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.yulrizka.com/unix/extend-letsencrypt-certificate-with-dns-challenge.md).

# extend letsencrypt certificate with dns challenge

Assuming the domain name is `yulrizka.com` and the certificate was created with

```bash
$ certbot certonly --standalone --preferred-challenges dns -d yulrizka.com
```

To extend this certificate with DNS challenge

```bash
# certbot -d yulrizka.com --manual --preferred-challenges dns certonly
```

You will be asked to add TXT record of `_acme-challenge.yulrizka.com`.

After updating that DNS record, wait couple of minutes and proceed.
