certbot-dns-dnspod-109 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

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.
@@ -20,10 +20,12 @@ class Authenticator(dns_common.DNSAuthenticator):
20
20
  This Authenticator uses the Dnspod API to fulfill a dns-01 challenge.
21
21
  """
22
22
 
23
+ # required by certbot
24
+ description = 'Obtain certificates using a DNS TXT record (if you are using Dnspod for DNS).'
25
+
23
26
  def __init__(self, *args: Any, **kwargs: Any) -> None:
24
27
  super().__init__(*args, **kwargs)
25
28
  self.credentials: Optional[CredentialsConfiguration] = None
26
- self.description = 'Obtain certificates using a DNS TXT record (if you are using Dnspod for DNS).'
27
29
  self.ACCOUNT_URL = 'https://console.cloud.tencent.com/cam'
28
30
  self.ttl = 600
29
31
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: certbot-dns-dnspod-109
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: The `certbot-dns-dnspod-109` plugin automates the process of completing a `dns-01` challenge (`~acme.challenges.DNS01`) by creating, and subsequently removing, TXT records using the Dnspod API (Tencent Cloud API 3.0).
5
5
  Home-page: https://github.com/10935336/certbot-dns-dnspod-109
6
6
  Author: 10935336
@@ -21,43 +21,45 @@ License-File: LICENSE.txt
21
21
 
22
22
 
23
23
  ## Just Another DNSPod DNS Authenticator plugin for Certbot
24
- The `certbot-dns-dnspod-109` plugin automates the process of
25
- completing a `dns-01` challenge (`~acme.challenges.DNS01`)
26
- by creating, and subsequently removing, TXT records using the
24
+ The `certbot-dns-dnspod-109` plugin automates the process of
25
+ completing a `dns-01` challenge (`~acme.challenges.DNS01`)
26
+ by creating, and subsequently removing, TXT records using the
27
27
  Dnspod API (Tencent Cloud API 3.0).
28
28
 
29
+ If you are using [Dnspod](https://www.dnspod.cn/) ([Tencent Cloud](https://cloud.tencent.com)) as your DNS provider,
30
+ then this is your plugin.
31
+
32
+
33
+ Tested on
34
+ - Certbot 3.0.1
35
+
36
+
29
37
  ## Usage
30
38
 
31
39
  ### 1. Install
32
40
 
33
41
  #### pip:
34
42
  ```bash
35
- pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
43
+ pip install certbot-dns-dnspod-109
36
44
  ```
37
45
  or
38
46
  ```bash
39
- pip install certbot-dns-dnspod-109
47
+ pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
40
48
  ```
41
49
 
42
50
 
43
51
  #### snap:
44
52
  ```bash
45
- snap install certbot-dns-dnspod-109
46
- snap connect certbot:plugin certbot-dns-dnspod-109
47
- ```
48
-
49
- if root snap:
50
- ```bash
51
- snap install certbot-dns-dnspod-109
53
+ snap install certbot-dns-dnspod-10935336
52
54
  snap set certbot trust-plugin-with-root=ok
53
- snap connect certbot:plugin certbot-dns-dnspod-109
55
+ snap connect certbot:plugin certbot-dns-dnspod-10935336
54
56
  ```
55
57
 
56
58
  ### 2. Obtain SecretId and SecretKey
57
- 1. Visit https://console.cloud.tencent.com/cam to create a sub-user
58
- 2. Select "Programmatic access" for the sub-user access method
59
- 3. Grant the sub-user QcloudDNSPodFullAccess (Cloud DNS full read and write access rights) permission
60
- 4. Record SecretId and SecretKey
59
+ 1. Visit https://console.cloud.tencent.com/cam to create a sub-user
60
+ 2. Select "Programmatic access" for the sub-user access method
61
+ 3. Grant the sub-user QcloudDNSPodFullAccess (Cloud DNS full read and write access rights) permission
62
+ 4. Record SecretId and SecretKey
61
63
 
62
64
  ### 3. Prepare Credentials File
63
65
 
@@ -99,58 +101,62 @@ certbot certonly \
99
101
  ```
100
102
 
101
103
  Test run
102
-
103
104
  ```bash
104
105
  certbot certonly \
105
106
  --register-unsafely-without-email \
106
107
  -a dns-dnspod-109 \
107
108
  --dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
109
+ --dns-dnspod-109-propagation-seconds 60 \
108
110
  -v \
109
111
  --dry-run
110
112
  ```
111
113
 
114
+ ## Parameter Description
115
+ ``--dns-dnspod-109-credentials <path>`` points to the credentials file. (Required)
112
116
 
117
+ ``--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)
113
118
 
114
119
 
115
120
 
116
121
 
122
+ <br>
123
+ <br>
124
+ <br>
125
+ <br>
126
+ <br>
117
127
 
118
128
  # 简体中文
119
129
 
120
-
121
-
122
-
123
130
  ## 只是另一个适用于 Certbot 的 DNSPod DNS Authenticator 插件
124
131
 
125
132
  `certbot-dns-dnspod-109` 插件通过使用 Dnspod API(腾讯云 API 3.0)创建并随后删除 TXT 记录,自动完成`dns-01` 质询(`~acme.challenges.DNS01`)。
126
133
 
134
+ 如果你使用 [Dnspod](https://www.dnspod.cn/) ([腾讯云](https://cloud.tencent.com)) 作为你的域名解析服务提供商,那么这就是你的插件。
135
+
136
+ 在以下版本中测试通过
137
+ - Certbot 3.0.1
138
+
127
139
  ## 使用方法
128
140
 
129
141
  ### 1. 安装
130
142
 
131
143
  #### pip:
132
144
  ```bash
133
- pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
145
+ pip install certbot-dns-dnspod-109
134
146
  ```
135
147
  或者
136
148
  ```bash
137
- pip install certbot-dns-dnspod-109
149
+ pip install git+https://github.com/10935336/certbot-dns-dnspod-109.git
138
150
  ```
139
151
 
140
152
  #### snap:
141
153
  ```bash
142
- snap install certbot-dns-dnspod-109
143
- snap connect certbot:plugin certbot-dns-dnspod-109
144
- ```
145
-
146
- 如果你使用 root snap:
147
- ```bash
148
- snap install certbot-dns-dnspod-109
154
+ snap install certbot-dns-dnspod-10935336
149
155
  snap set certbot trust-plugin-with-root=ok
150
- snap connect certbot:plugin certbot-dns-dnspod-109
156
+ snap connect certbot:plugin certbot-dns-dnspod-10935336
151
157
  ```
152
158
 
153
- ### 2. 获取SecretId和SecretKey
159
+ ### 2. 获取 SecretId SecretKey
154
160
  1. 访问 https://console.cloud.tencent.com/cam 创建子用户
155
161
  2. 子用户访问方式选择“编程访问”
156
162
  3. 授予子用户 QcloudDNSPodFullAccess(Cloud DNS 完全读写访问权限)权限
@@ -196,12 +202,18 @@ certbot certonly \
196
202
  ```
197
203
 
198
204
  测试运行
199
-
200
205
  ```bash
201
206
  certbot certonly \
202
207
  --register-unsafely-without-email \
203
208
  -a dns-dnspod-109 \
204
209
  --dns-dnspod-109-credentials ~/.secrets/certbot/dnspod-109.ini \
210
+ --dns-dnspod-109-propagation-seconds 60 \
205
211
  -v \
206
212
  --dry-run
207
213
  ```
214
+
215
+ ## 参数说明
216
+ ``--dns-dnspod-109-credentials <路径>`` 指向凭证文件。(必需)
217
+
218
+ ``--dns-dnspod-109-propagation-seconds`` 在要求 ACME 服务器验证 DNS 记录之前等待 DNS 传播的秒数。如果显示 DNS 记录添加成功但验证失败,则尝试增加此值 。 (默认值:10)
219
+
@@ -1,11 +1,11 @@
1
1
  certbot_dns_dnspod_109/__init__.py,sha256=qvnjZ72P7cvpavn66_Ws2c7s0Ft6OJpaSiIP8bAtYmc,3479
2
2
  certbot_dns_dnspod_109/_internal/__init__.py,sha256=TxsS2fQuUdzQP-YoerMhKrCrodqACPybbe2JDGdtcZw,95
3
- certbot_dns_dnspod_109/_internal/dns_dnspod.py,sha256=svj0ByFEAC6lTlDaZEzFw7nwOWKtx1T3ex_NGweeBXU,6375
3
+ certbot_dns_dnspod_109/_internal/dns_dnspod.py,sha256=nNz-Fyve_1an-D-cMthvV2IcswrrffU-M5hZ2cB6KGM,6393
4
4
  certbot_dns_dnspod_109/_internal/tests/__init__.py,sha256=rjj8qB-_GHbjCMAlaq6MKyzVtE_NWf5A6NGYGC8JAPk,68
5
5
  certbot_dns_dnspod_109/_internal/tests/dns_dnspod_test.py,sha256=6J7Rgk7iEeW9J_32bpIx4wmQ9aiyyi7koCNXBbj5fTo,8864
6
- certbot_dns_dnspod_109-1.0.0.dist-info/LICENSE.txt,sha256=LMXecVrlqXbwhvukkwiAyeQhkUFz_IURG_9RTUdXEj8,10786
7
- certbot_dns_dnspod_109-1.0.0.dist-info/METADATA,sha256=SfKsnjyoeQluCVFScvtN7BTdhx66lNUzs8HBwB8Z5Ck,5149
8
- certbot_dns_dnspod_109-1.0.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
9
- certbot_dns_dnspod_109-1.0.0.dist-info/entry_points.txt,sha256=ri1pHfGGa7B3kLCWkTGn8Xg32rdNTLqBv4pDHwD8OUs,93
10
- certbot_dns_dnspod_109-1.0.0.dist-info/top_level.txt,sha256=TZ8F7YwXuC4Q35y9QMVXnIAAf2aEEhxyBCQVwIK5yvg,23
11
- certbot_dns_dnspod_109-1.0.0.dist-info/RECORD,,
6
+ certbot_dns_dnspod_109-1.0.1.dist-info/LICENSE.txt,sha256=LMXecVrlqXbwhvukkwiAyeQhkUFz_IURG_9RTUdXEj8,10786
7
+ certbot_dns_dnspod_109-1.0.1.dist-info/METADATA,sha256=1FPk0y-ZkLhH105LbUrmM70uPu40adLJepCKjbcnafs,6097
8
+ certbot_dns_dnspod_109-1.0.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
9
+ certbot_dns_dnspod_109-1.0.1.dist-info/entry_points.txt,sha256=ri1pHfGGa7B3kLCWkTGn8Xg32rdNTLqBv4pDHwD8OUs,93
10
+ certbot_dns_dnspod_109-1.0.1.dist-info/top_level.txt,sha256=TZ8F7YwXuC4Q35y9QMVXnIAAf2aEEhxyBCQVwIK5yvg,23
11
+ certbot_dns_dnspod_109-1.0.1.dist-info/RECORD,,