# Let's Encrypt DNS-01 challenge

**URL:** <https://discourse.mailinabox.email/t/lets-encrypt-dns-01-challenge/8628>\
**Category:** Improvements\
**Created:** [December 29, 2021, 2:36am UTC](https://discourse.mailinabox.email/t/lets-encrypt-dns-01-challenge/8628 "2021-12-29T02:36:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BhSimon](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/bhsimon/32/2090_2.png) [@BhSimon](https://discourse.mailinabox.email/u/BhSimon)\
**Post date:** [December 29, 2021, 2:36am UTC](https://discourse.mailinabox.email/t/lets-encrypt-dns-01-challenge/8628/1 "2021-12-29T02:36:55Z")

</div>

Since MiAB is able to be the authoritative server for a domain, and that DNS server has an API, it would be useful to have DNS challenge for Let’s Encrypt. This would decouple the Let’s Encrypt certificates from the HTTP/S requirement, making it easier to deploy MiAB behind a firewall that intentionally blocks HTTP requests or other configurations that are incompatible with the HTTP-01 challenge.

---

<div class="post-metadata">

**Author:** ![openletter](https://discourse.mailinabox.email/letter_avatar_proxy/v4/letter/o/f1d935/32.png) [@openletter](https://discourse.mailinabox.email/u/openletter)\
**Post date:** [December 31, 2021, 12:31pm UTC](https://discourse.mailinabox.email/t/lets-encrypt-dns-01-challenge/8628/2 "2021-12-31T12:31:40Z")

</div>

If you need something for a specific install, you can always use your own tool. The [acme.sh](https://acme.sh) project supports DNS-01 and already has the MiaB API (as well as many others). I’m not really sure how to make it work without MiaB scripts causing problems.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.mailinabox.email/uploads/default/original/2X/4/4d0933d13c456b7e57f296aa6cc344525b6f0c70.png) [@system](https://discourse.mailinabox.email/u/system)\
**Post date:** [February 28, 2022, 2:37am UTC](https://discourse.mailinabox.email/t/lets-encrypt-dns-01-challenge/8628/3 "2022-02-28T02:37:52Z")

</div>

This topic was automatically closed after 61 days. New replies are no longer allowed.
