---
title: Charmhub | Deploy LEGO using Charmhub - The Open Operator Collection
description: Deploy the latest version of LEGO on any cloud.
url: https://charmhub.io/lego/docs/h-reference-dns01
---

# LEGO

[Canonical Telco](https://charmhub.io/publisher/telco-charmers "View all packages from Canonical Telco")

* [Canonical Telco](https://charmhub.io/publisher/telco-charmers "View all packages from Canonical Telco")

Platform:

24.04

22.04

4/stable 510

```
juju deploy lego --channel 4/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/lego)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/lego-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# The ACME DNS-01 Challenge

The DNS-01 Challenge is utilised by the ACME Certificate Authorities like Let’s Encrypt so the users can prove that they control the DNS of the Domain Name they are requesting the certificate for.

It does that by asking the user to put a specific value in a TXT record under that domain name.
The ACME client will get a token from the server and create a TXT record derived from that token and place it at `_acme_challenge.<Domain Name>`, then the ACME server will query the DNS system for that record.

Read more about the DNS-01 challenge [here](https://letsencrypt.org/docs/challenge-types/#dns-01-challenge).

---
