Skip to content

Commit 1f0dfb4

Browse files
committed
Fix: Improve docs for Lets Encrypt YAML to help prevent usage + copy/paste errors
1 parent bfd8040 commit 1f0dfb4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

letsencrypt/DOCS.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,10 @@ When you specify a custom ACME server, the *Dry Run* and *Issue test certificate
296296

297297
## Example Configurations
298298

299-
Note: These configuration examples are raw YAML configs. When you use UI edit
300-
mode (default), and configure DNS, simply copy the attributes underneath *dns*
301-
into the *DNS Provider configuration* field.
299+
**Important Note for UI Edit Mode:** These configuration examples are raw YAML configs.
300+
When using the UI edit mode (which is the default), and configuring DNS, you **must**
301+
only copy the attributes *underneath* the `dns:` key into the "DNS Provider configuration" field.
302+
Do NOT include the `dns:` key itself when pasting into the UI field, as this will cause parsing errors.
302303

303304
<details>
304305
<summary>HTTP challenge</summary>

letsencrypt/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ schema:
3232
certfile: str
3333
challenge: list(dns|http)
3434
dns:
35+
# Note: When configuring DNS in the UI, only copy the attributes below this line
36+
# (e.g., 'provider: dns-cloudflare', 'cloudflare_email: ...') into the
37+
# "DNS Provider configuration" field. Do NOT include the 'dns:' key itself.
3538
# Developer note: please add a new plugin alphabetically into all lists
3639
aws_access_key_id: str?
3740
aws_secret_access_key: str?

0 commit comments

Comments
 (0)