Add ACME DNS01 challenge support via libdns

This commit is contained in:
世界
2023-09-16 21:37:22 +08:00
parent c1ffcf365e
commit d17e93384b
10 changed files with 170 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
### Structure
```json
{
"provider": "",
... // Provider Fields
}
```
### Provider Fields
#### Alibaba Cloud DNS
```json
{
"provider": "alidns",
"access_key_id": "",
"access_key_secret": "",
"region_id": ""
}
```
#### Cloudflare
```json
{
"provider": "cloudflare",
"api_token": ""
}
```

View File

@@ -0,0 +1,31 @@
### 结构
```json
{
"provider": "",
... // 提供商字段
}
```
### 提供商字段
#### Alibaba Cloud DNS
```json
{
"provider": "alidns",
"access_key_id": "",
"access_key_secret": "",
"region_id": ""
}
```
#### Cloudflare
```json
{
"provider": "cloudflare",
"api_token": ""
}
```

View File

@@ -25,7 +25,8 @@
"external_account": {
"key_id": "",
"mac_key": ""
}
},
"dns01_challenge": {}
},
"ech": {
"enabled": false,
@@ -348,6 +349,12 @@ The key identifier.
The MAC key.
#### dns01_challenge
ACME DNS01 challenge field. If configured, other challenge methods will be disabled.
See [DNS01 Challenge Fields](/configuration/shared/dns01_challenge) for details.
### Reality Fields
!!! warning ""

View File

@@ -25,7 +25,8 @@
"external_account": {
"key_id": "",
"mac_key": ""
}
},
"dns01_challenge": {}
},
"ech": {
"enabled": false,
@@ -339,6 +340,12 @@ EAB外部帐户绑定包含将 ACME 帐户绑定或映射到其他已知
MAC 密钥。
#### dns01_challenge
ACME DNS01 验证字段。如果配置,将禁用其他验证方法。
参阅 [DNS01 验证字段](/configuration/shared/dns01_challenge)。
### Reality 字段
!!! warning ""