certbot-dns-dnspod-109 1.0.2__tar.gz → 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/PKG-INFO +89 -18
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/Readme.md +88 -17
- certbot_dns_dnspod_109-1.0.3/certbot_dns_dnspod_109/_internal/dns_dnspod.py +313 -0
- certbot_dns_dnspod_109-1.0.3/certbot_dns_dnspod_109/_internal/tests/dns_dnspod_test.py +330 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109.egg-info/PKG-INFO +89 -18
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/setup.py +1 -1
- certbot_dns_dnspod_109-1.0.2/certbot_dns_dnspod_109/_internal/dns_dnspod.py +0 -153
- certbot_dns_dnspod_109-1.0.2/certbot_dns_dnspod_109/_internal/tests/dns_dnspod_test.py +0 -201
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/LICENSE.txt +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109/__init__.py +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109/_internal/__init__.py +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109/_internal/tests/__init__.py +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109.egg-info/SOURCES.txt +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109.egg-info/dependency_links.txt +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109.egg-info/entry_points.txt +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109.egg-info/requires.txt +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/certbot_dns_dnspod_109.egg-info/top_level.txt +0 -0
- {certbot_dns_dnspod_109-1.0.2 → certbot_dns_dnspod_109-1.0.3}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: certbot-dns-dnspod-109
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.3
|
|
4
4
|
Summary: Dnspod DNS Authenticator plugin for Certbot
|
|
5
5
|
Home-page: https://github.com/10935336/certbot-dns-dnspod-109
|
|
6
6
|
Author: 10935336
|
|
@@ -43,6 +43,9 @@ Requires-Dist: pytest; extra == "test"
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
## Just Another DNSPod DNS Authenticator plugin for Certbot
|
|
46
|
+
|
|
47
|
+
Just Another Tencent Cloud DNSPod DNS Authenticator plugin for [Certbot](https://certbot.eff.org/)
|
|
48
|
+
|
|
46
49
|
The `certbot-dns-dnspod-109` plugin automates the process of
|
|
47
50
|
completing a `dns-01` challenge (`~acme.challenges.DNS01`)
|
|
48
51
|
by creating, and subsequently removing, TXT records using the
|
|
@@ -54,6 +57,8 @@ then this is your plugin.
|
|
|
54
57
|
|
|
55
58
|
Tested on
|
|
56
59
|
- Certbot 3.0.1
|
|
60
|
+
- Certbot 5.1.0
|
|
61
|
+
- Certbot 5.2.2
|
|
57
62
|
|
|
58
63
|
|
|
59
64
|
## Usage
|
|
@@ -71,6 +76,8 @@ pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
|
|
|
71
76
|
|
|
72
77
|
|
|
73
78
|
#### snap:
|
|
79
|
+
The snap version is deprecated and will not receive updates after version v1.0.2.
|
|
80
|
+
|
|
74
81
|
```bash
|
|
75
82
|
snap install certbot-dns-dnspod-10935336
|
|
76
83
|
snap set certbot trust-plugin-with-root=ok
|
|
@@ -91,6 +98,11 @@ dns_dnspod_109_secret_id=foo
|
|
|
91
98
|
dns_dnspod_109_secret_key=bar
|
|
92
99
|
```
|
|
93
100
|
|
|
101
|
+
Optional parameters:
|
|
102
|
+
```ini
|
|
103
|
+
dns_dnspod_109_endpoint=dnspod.tencentcloudapi.com
|
|
104
|
+
```
|
|
105
|
+
|
|
94
106
|
### 4. Ready to go
|
|
95
107
|
|
|
96
108
|
#### Usage Examples
|
|
@@ -113,6 +125,15 @@ certbot certonly \
|
|
|
113
125
|
-d www.example.com
|
|
114
126
|
```
|
|
115
127
|
|
|
128
|
+
Obtain a wildcard certificate for `example.com`
|
|
129
|
+
```bash
|
|
130
|
+
certbot certonly \
|
|
131
|
+
-a dns-dnspod-109 \
|
|
132
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
133
|
+
-d example.com \
|
|
134
|
+
-d *.example.com
|
|
135
|
+
```
|
|
136
|
+
|
|
116
137
|
To acquire a certificate for example.com, waiting 60 seconds for DNS propagation
|
|
117
138
|
```bash
|
|
118
139
|
certbot certonly \
|
|
@@ -122,7 +143,7 @@ certbot certonly \
|
|
|
122
143
|
-d example.com
|
|
123
144
|
```
|
|
124
145
|
|
|
125
|
-
Test run
|
|
146
|
+
Test run (Skipping the final certificate issuance)
|
|
126
147
|
```bash
|
|
127
148
|
certbot certonly \
|
|
128
149
|
--register-unsafely-without-email \
|
|
@@ -133,8 +154,22 @@ certbot certonly \
|
|
|
133
154
|
--dry-run
|
|
134
155
|
```
|
|
135
156
|
|
|
157
|
+
Test run a wildcard certificate for `example.com`(Skipping the final certificate issuance)
|
|
158
|
+
```bash
|
|
159
|
+
certbot certonly \
|
|
160
|
+
--register-unsafely-without-email \
|
|
161
|
+
-a dns-dnspod-109 \
|
|
162
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
163
|
+
--dns-dnspod-109-propagation-seconds 60 \
|
|
164
|
+
-v \
|
|
165
|
+
--dry-run \
|
|
166
|
+
-d example.com \
|
|
167
|
+
-d *.example.com
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
|
|
136
171
|
## Parameter Description
|
|
137
|
-
``--dns-dnspod-109-credentials <path>``
|
|
172
|
+
``--dns-dnspod-109-credentials <path>`` Path to the credential file (required)
|
|
138
173
|
|
|
139
174
|
``--dns-dnspod-109-propagation-seconds`` The number of seconds to wait for DNS propagation before asking the ACME server to verify DNS records. If DNS records appear to be added successfully but verification fails, try increasing this value. (Default: 10)
|
|
140
175
|
|
|
@@ -151,12 +186,16 @@ certbot certonly \
|
|
|
151
186
|
|
|
152
187
|
## 只是另一个适用于 Certbot 的 DNSPod DNS Authenticator 插件
|
|
153
188
|
|
|
189
|
+
只是另一个适用于 [Certbot](https://certbot.eff.org/) 的 Tencent Cloud DNSPod DNS Authenticator 插件
|
|
190
|
+
|
|
154
191
|
`certbot-dns-dnspod-109` 插件通过使用 Dnspod API(腾讯云 API 3.0)创建并随后删除 TXT 记录,自动完成`dns-01` 质询(`~acme.challenges.DNS01`)。
|
|
155
192
|
|
|
156
193
|
如果你使用 [Dnspod](https://www.dnspod.cn/) ([腾讯云](https://cloud.tencent.com)) 作为你的域名解析服务提供商,那么这就是你的插件。
|
|
157
194
|
|
|
158
195
|
在以下版本中测试通过
|
|
159
196
|
- Certbot 3.0.1
|
|
197
|
+
- Certbot 5.1.0
|
|
198
|
+
- Certbot 5.2.2
|
|
160
199
|
|
|
161
200
|
## 使用方法
|
|
162
201
|
|
|
@@ -172,6 +211,9 @@ pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
|
|
|
172
211
|
```
|
|
173
212
|
|
|
174
213
|
#### snap:
|
|
214
|
+
|
|
215
|
+
snap 版本已弃用,将不会收到 v1.0.2 版本之后的更新
|
|
216
|
+
|
|
175
217
|
```bash
|
|
176
218
|
snap install certbot-dns-dnspod-10935336
|
|
177
219
|
snap set certbot trust-plugin-with-root=ok
|
|
@@ -186,12 +228,17 @@ snap connect certbot:plugin certbot-dns-dnspod-10935336
|
|
|
186
228
|
|
|
187
229
|
### 3. 准备凭证文件
|
|
188
230
|
|
|
189
|
-
foobar.ini:
|
|
231
|
+
foobar.ini:
|
|
190
232
|
```ini
|
|
191
233
|
dns_dnspod_109_secret_id=foo
|
|
192
234
|
dns_dnspod_109_secret_key=bar
|
|
193
235
|
```
|
|
194
236
|
|
|
237
|
+
可选参数:
|
|
238
|
+
```ini
|
|
239
|
+
dns_dnspod_109_endpoint=dnspod.tencentcloudapi.com
|
|
240
|
+
```
|
|
241
|
+
|
|
195
242
|
### 4. 准备就绪
|
|
196
243
|
|
|
197
244
|
#### 使用示例
|
|
@@ -200,30 +247,40 @@ dns_dnspod_109_secret_key=bar
|
|
|
200
247
|
|
|
201
248
|
```bash
|
|
202
249
|
certbot certonly \
|
|
203
|
-
-a dns-dnspod-109 \
|
|
204
|
-
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
205
|
-
-d example.com
|
|
250
|
+
-a dns-dnspod-109 \
|
|
251
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
252
|
+
-d example.com
|
|
206
253
|
```
|
|
207
254
|
|
|
208
255
|
获取同时有 `example.com` 和 `www.example.com` 的单个证书
|
|
209
256
|
```bash
|
|
210
257
|
certbot certonly \
|
|
211
|
-
-a dns-dnspod-109 \
|
|
212
|
-
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
213
|
-
-d example.com \
|
|
214
|
-
-d www.example.com
|
|
258
|
+
-a dns-dnspod-109 \
|
|
259
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
260
|
+
-d example.com \
|
|
261
|
+
-d www.example.com
|
|
215
262
|
```
|
|
216
263
|
|
|
264
|
+
获取 `example.com` 的泛域名证书
|
|
265
|
+
```bash
|
|
266
|
+
certbot certonly \
|
|
267
|
+
-a dns-dnspod-109 \
|
|
268
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
269
|
+
-d example.com \
|
|
270
|
+
-d *.example.com
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
|
|
217
274
|
获取 `example.com` 的证书,但设置等待 60 秒(等待 DNS 传播)
|
|
218
275
|
```bash
|
|
219
276
|
certbot certonly \
|
|
220
|
-
-a dns-dnspod-109 \
|
|
221
|
-
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
222
|
-
--dns-dnspod-109-propagation-seconds 60 \
|
|
223
|
-
-d example.com
|
|
277
|
+
-a dns-dnspod-109 \
|
|
278
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
279
|
+
--dns-dnspod-109-propagation-seconds 60 \
|
|
280
|
+
-d example.com
|
|
224
281
|
```
|
|
225
282
|
|
|
226
|
-
|
|
283
|
+
测试运行(跳过最终证书颁发)
|
|
227
284
|
```bash
|
|
228
285
|
certbot certonly \
|
|
229
286
|
--register-unsafely-without-email \
|
|
@@ -234,8 +291,22 @@ certbot certonly \
|
|
|
234
291
|
--dry-run
|
|
235
292
|
```
|
|
236
293
|
|
|
294
|
+
测试运行,获取 `example.com` 的泛域名证书(跳过最终证书颁发)
|
|
295
|
+
```bash
|
|
296
|
+
certbot certonly \
|
|
297
|
+
--register-unsafely-without-email \
|
|
298
|
+
-a dns-dnspod-109 \
|
|
299
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
300
|
+
--dns-dnspod-109-propagation-seconds 60 \
|
|
301
|
+
-v \
|
|
302
|
+
--dry-run \
|
|
303
|
+
-d example.com \
|
|
304
|
+
-d *.example.com
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
|
|
237
308
|
## 参数说明
|
|
238
|
-
``--dns-dnspod-109-credentials <路径>``
|
|
309
|
+
``--dns-dnspod-109-credentials <路径>`` 指向凭证文件的路径(必需)
|
|
239
310
|
|
|
240
|
-
``--dns-dnspod-109-propagation-seconds`` 在要求 ACME 服务器验证 DNS 记录之前等待 DNS 传播的秒数。如果显示 DNS 记录添加成功但验证失败,则尝试增加此值
|
|
311
|
+
``--dns-dnspod-109-propagation-seconds`` 在要求 ACME 服务器验证 DNS 记录之前等待 DNS 传播的秒数。如果显示 DNS 记录添加成功但验证失败,则尝试增加此值 (默认值:10)
|
|
241
312
|
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
## Just Another DNSPod DNS Authenticator plugin for Certbot
|
|
8
|
+
|
|
9
|
+
Just Another Tencent Cloud DNSPod DNS Authenticator plugin for [Certbot](https://certbot.eff.org/)
|
|
10
|
+
|
|
8
11
|
The `certbot-dns-dnspod-109` plugin automates the process of
|
|
9
12
|
completing a `dns-01` challenge (`~acme.challenges.DNS01`)
|
|
10
13
|
by creating, and subsequently removing, TXT records using the
|
|
@@ -16,6 +19,8 @@ then this is your plugin.
|
|
|
16
19
|
|
|
17
20
|
Tested on
|
|
18
21
|
- Certbot 3.0.1
|
|
22
|
+
- Certbot 5.1.0
|
|
23
|
+
- Certbot 5.2.2
|
|
19
24
|
|
|
20
25
|
|
|
21
26
|
## Usage
|
|
@@ -33,6 +38,8 @@ pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
|
|
|
33
38
|
|
|
34
39
|
|
|
35
40
|
#### snap:
|
|
41
|
+
The snap version is deprecated and will not receive updates after version v1.0.2.
|
|
42
|
+
|
|
36
43
|
```bash
|
|
37
44
|
snap install certbot-dns-dnspod-10935336
|
|
38
45
|
snap set certbot trust-plugin-with-root=ok
|
|
@@ -53,6 +60,11 @@ dns_dnspod_109_secret_id=foo
|
|
|
53
60
|
dns_dnspod_109_secret_key=bar
|
|
54
61
|
```
|
|
55
62
|
|
|
63
|
+
Optional parameters:
|
|
64
|
+
```ini
|
|
65
|
+
dns_dnspod_109_endpoint=dnspod.tencentcloudapi.com
|
|
66
|
+
```
|
|
67
|
+
|
|
56
68
|
### 4. Ready to go
|
|
57
69
|
|
|
58
70
|
#### Usage Examples
|
|
@@ -75,6 +87,15 @@ certbot certonly \
|
|
|
75
87
|
-d www.example.com
|
|
76
88
|
```
|
|
77
89
|
|
|
90
|
+
Obtain a wildcard certificate for `example.com`
|
|
91
|
+
```bash
|
|
92
|
+
certbot certonly \
|
|
93
|
+
-a dns-dnspod-109 \
|
|
94
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
95
|
+
-d example.com \
|
|
96
|
+
-d *.example.com
|
|
97
|
+
```
|
|
98
|
+
|
|
78
99
|
To acquire a certificate for example.com, waiting 60 seconds for DNS propagation
|
|
79
100
|
```bash
|
|
80
101
|
certbot certonly \
|
|
@@ -84,7 +105,7 @@ certbot certonly \
|
|
|
84
105
|
-d example.com
|
|
85
106
|
```
|
|
86
107
|
|
|
87
|
-
Test run
|
|
108
|
+
Test run (Skipping the final certificate issuance)
|
|
88
109
|
```bash
|
|
89
110
|
certbot certonly \
|
|
90
111
|
--register-unsafely-without-email \
|
|
@@ -95,8 +116,22 @@ certbot certonly \
|
|
|
95
116
|
--dry-run
|
|
96
117
|
```
|
|
97
118
|
|
|
119
|
+
Test run a wildcard certificate for `example.com`(Skipping the final certificate issuance)
|
|
120
|
+
```bash
|
|
121
|
+
certbot certonly \
|
|
122
|
+
--register-unsafely-without-email \
|
|
123
|
+
-a dns-dnspod-109 \
|
|
124
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
125
|
+
--dns-dnspod-109-propagation-seconds 60 \
|
|
126
|
+
-v \
|
|
127
|
+
--dry-run \
|
|
128
|
+
-d example.com \
|
|
129
|
+
-d *.example.com
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
|
|
98
133
|
## Parameter Description
|
|
99
|
-
``--dns-dnspod-109-credentials <path>``
|
|
134
|
+
``--dns-dnspod-109-credentials <path>`` Path to the credential file (required)
|
|
100
135
|
|
|
101
136
|
``--dns-dnspod-109-propagation-seconds`` The number of seconds to wait for DNS propagation before asking the ACME server to verify DNS records. If DNS records appear to be added successfully but verification fails, try increasing this value. (Default: 10)
|
|
102
137
|
|
|
@@ -113,12 +148,16 @@ certbot certonly \
|
|
|
113
148
|
|
|
114
149
|
## 只是另一个适用于 Certbot 的 DNSPod DNS Authenticator 插件
|
|
115
150
|
|
|
151
|
+
只是另一个适用于 [Certbot](https://certbot.eff.org/) 的 Tencent Cloud DNSPod DNS Authenticator 插件
|
|
152
|
+
|
|
116
153
|
`certbot-dns-dnspod-109` 插件通过使用 Dnspod API(腾讯云 API 3.0)创建并随后删除 TXT 记录,自动完成`dns-01` 质询(`~acme.challenges.DNS01`)。
|
|
117
154
|
|
|
118
155
|
如果你使用 [Dnspod](https://www.dnspod.cn/) ([腾讯云](https://cloud.tencent.com)) 作为你的域名解析服务提供商,那么这就是你的插件。
|
|
119
156
|
|
|
120
157
|
在以下版本中测试通过
|
|
121
158
|
- Certbot 3.0.1
|
|
159
|
+
- Certbot 5.1.0
|
|
160
|
+
- Certbot 5.2.2
|
|
122
161
|
|
|
123
162
|
## 使用方法
|
|
124
163
|
|
|
@@ -134,6 +173,9 @@ pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
|
|
|
134
173
|
```
|
|
135
174
|
|
|
136
175
|
#### snap:
|
|
176
|
+
|
|
177
|
+
snap 版本已弃用,将不会收到 v1.0.2 版本之后的更新
|
|
178
|
+
|
|
137
179
|
```bash
|
|
138
180
|
snap install certbot-dns-dnspod-10935336
|
|
139
181
|
snap set certbot trust-plugin-with-root=ok
|
|
@@ -148,12 +190,17 @@ snap connect certbot:plugin certbot-dns-dnspod-10935336
|
|
|
148
190
|
|
|
149
191
|
### 3. 准备凭证文件
|
|
150
192
|
|
|
151
|
-
foobar.ini:
|
|
193
|
+
foobar.ini:
|
|
152
194
|
```ini
|
|
153
195
|
dns_dnspod_109_secret_id=foo
|
|
154
196
|
dns_dnspod_109_secret_key=bar
|
|
155
197
|
```
|
|
156
198
|
|
|
199
|
+
可选参数:
|
|
200
|
+
```ini
|
|
201
|
+
dns_dnspod_109_endpoint=dnspod.tencentcloudapi.com
|
|
202
|
+
```
|
|
203
|
+
|
|
157
204
|
### 4. 准备就绪
|
|
158
205
|
|
|
159
206
|
#### 使用示例
|
|
@@ -162,30 +209,40 @@ dns_dnspod_109_secret_key=bar
|
|
|
162
209
|
|
|
163
210
|
```bash
|
|
164
211
|
certbot certonly \
|
|
165
|
-
-a dns-dnspod-109 \
|
|
166
|
-
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
167
|
-
-d example.com
|
|
212
|
+
-a dns-dnspod-109 \
|
|
213
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
214
|
+
-d example.com
|
|
168
215
|
```
|
|
169
216
|
|
|
170
217
|
获取同时有 `example.com` 和 `www.example.com` 的单个证书
|
|
171
218
|
```bash
|
|
172
219
|
certbot certonly \
|
|
173
|
-
-a dns-dnspod-109 \
|
|
174
|
-
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
175
|
-
-d example.com \
|
|
176
|
-
-d www.example.com
|
|
220
|
+
-a dns-dnspod-109 \
|
|
221
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
222
|
+
-d example.com \
|
|
223
|
+
-d www.example.com
|
|
177
224
|
```
|
|
178
225
|
|
|
226
|
+
获取 `example.com` 的泛域名证书
|
|
227
|
+
```bash
|
|
228
|
+
certbot certonly \
|
|
229
|
+
-a dns-dnspod-109 \
|
|
230
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
231
|
+
-d example.com \
|
|
232
|
+
-d *.example.com
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
|
|
179
236
|
获取 `example.com` 的证书,但设置等待 60 秒(等待 DNS 传播)
|
|
180
237
|
```bash
|
|
181
238
|
certbot certonly \
|
|
182
|
-
-a dns-dnspod-109 \
|
|
183
|
-
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
184
|
-
--dns-dnspod-109-propagation-seconds 60 \
|
|
185
|
-
-d example.com
|
|
239
|
+
-a dns-dnspod-109 \
|
|
240
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
241
|
+
--dns-dnspod-109-propagation-seconds 60 \
|
|
242
|
+
-d example.com
|
|
186
243
|
```
|
|
187
244
|
|
|
188
|
-
|
|
245
|
+
测试运行(跳过最终证书颁发)
|
|
189
246
|
```bash
|
|
190
247
|
certbot certonly \
|
|
191
248
|
--register-unsafely-without-email \
|
|
@@ -196,8 +253,22 @@ certbot certonly \
|
|
|
196
253
|
--dry-run
|
|
197
254
|
```
|
|
198
255
|
|
|
256
|
+
测试运行,获取 `example.com` 的泛域名证书(跳过最终证书颁发)
|
|
257
|
+
```bash
|
|
258
|
+
certbot certonly \
|
|
259
|
+
--register-unsafely-without-email \
|
|
260
|
+
-a dns-dnspod-109 \
|
|
261
|
+
--dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
|
|
262
|
+
--dns-dnspod-109-propagation-seconds 60 \
|
|
263
|
+
-v \
|
|
264
|
+
--dry-run \
|
|
265
|
+
-d example.com \
|
|
266
|
+
-d *.example.com
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
|
|
199
270
|
## 参数说明
|
|
200
|
-
``--dns-dnspod-109-credentials <路径>``
|
|
271
|
+
``--dns-dnspod-109-credentials <路径>`` 指向凭证文件的路径(必需)
|
|
201
272
|
|
|
202
|
-
``--dns-dnspod-109-propagation-seconds`` 在要求 ACME 服务器验证 DNS 记录之前等待 DNS 传播的秒数。如果显示 DNS 记录添加成功但验证失败,则尝试增加此值
|
|
273
|
+
``--dns-dnspod-109-propagation-seconds`` 在要求 ACME 服务器验证 DNS 记录之前等待 DNS 传播的秒数。如果显示 DNS 记录添加成功但验证失败,则尝试增加此值 (默认值:10)
|
|
203
274
|
|