-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls/acme: Add support for DNS-01 domain delegation
See #588.
- Loading branch information
Showing
2 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,13 @@ smtp tcp://127.0.0.1:25 { | |
You can also use a global `tls` directive to use automatically | ||
obtained certificates for all endpoints: | ||
``` | ||
tls &local_tls | ||
tls { | ||
loader acme { | ||
email [email protected] | ||
agreed | ||
challenge dns-01 | ||
} | ||
} | ||
``` | ||
|
||
Currently the only supported challenge is dns-01 one therefore | ||
|
@@ -87,6 +93,15 @@ back to the one configured via 'ca' option. | |
|
||
This avoids rate limit issues with production CA. | ||
|
||
**Syntax:** override\_domain _domain_ <br> | ||
**Default:** not set | ||
|
||
Override the domain to set the TXT record on for DNS-01 challenge. | ||
This is to delegate the challenge to a different domain. | ||
|
||
See https://www.eff.org/deeplinks/2018/02/technical-deep-dive-securing-automation-acme-dns-challenge-validation | ||
for explanation why this might be useful. | ||
|
||
**Syntax:** email _str_ <br> | ||
**Default:** not set | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters