阿里云DNS插件,用于Certbot的DNS-01验证
Project description
Certbot DNS 阿里云插件
这是一个用于 Certbot 的阿里云 DNS 插件,支持通过阿里云 DNS API 进行 DNS-01 验证来获取 SSL 证书。支持泛域名。
功能特性
- 支持通过阿里云DNS API自动管理DNS记录
- 支持泛域名
- 支持certbot 3 版本(更低没测试)
- 兼容 Python 3.8+(含)版本
- 支持 DNS-01 验证方式
- 自动清理临时DNS记录
- 完善的错误处理和日志记录
安装
从 PyPI 安装
pip3 install certbot-dns-aliyun-next
配置文件
dns_aliyun_next_access_key_id = ??
dns_aliyun_next_access_key_secret = ??
dns_aliyun_next_region_id = cn-hangzhou
修改配置文件权限(假如文件是~/aliyun.ini)
chmod 600 ~/aliyun.ini
运行
certbot certonly \
--authenticator dns-aliyun-next \
--dns-aliyun-next-credentials ~/aliyun.ini \
--dns-aliyun-next-propagation-seconds 30 \
-d "*.example.com" \
-d "example.com"
阿里云权限配置
确保您的阿里云AccessKey具有以下权限:
AliyunDNSFullAccess 或自定义权限策略包含:
- alidns:AddDomainRecord
- alidns:DeleteDomainRecord
- alidns:DescribeDomainRecords
- alidns:UpdateDomainRecord
自动部署
此程序只是certbot的dns验证插件,如果需要自动运行申请部署,可以使用AutoCert.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file certbot_dns_aliyun_next-1.0.7.tar.gz.
File metadata
- Download URL: certbot_dns_aliyun_next-1.0.7.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d8c0c09e6837f55ae8e6a553719e420def70a89afda847aedb287b6451a673
|
|
| MD5 |
faa603f232f6ba9d52965f7624abb21c
|
|
| BLAKE2b-256 |
43612103bf9d0e67d1559069d8df03a7438db024b7b99bd21a7cb4abc3f069c8
|
Provenance
The following attestation bundles were made for certbot_dns_aliyun_next-1.0.7.tar.gz:
Publisher:
release.yml on tiyee/certbot-dns-aliyun-next
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
certbot_dns_aliyun_next-1.0.7.tar.gz -
Subject digest:
d9d8c0c09e6837f55ae8e6a553719e420def70a89afda847aedb287b6451a673 - Sigstore transparency entry: 626118506
- Sigstore integration time:
-
Permalink:
tiyee/certbot-dns-aliyun-next@8ad7168ef6bebdacd91434960405691a6be28fd8 -
Branch / Tag:
refs/tags/v1.0.7 - Owner: https://github.com/tiyee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8ad7168ef6bebdacd91434960405691a6be28fd8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file certbot_dns_aliyun_next-1.0.7-py3-none-any.whl.
File metadata
- Download URL: certbot_dns_aliyun_next-1.0.7-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9710034c7c5b177f78ffc8ac8ec7d16f1110f4577bd62fa94469d9db1c7997c2
|
|
| MD5 |
45f06f0ba4f2225832a0194a43647233
|
|
| BLAKE2b-256 |
62f655d9beaa0e6c35b1bf88c1adbcc2948133c1fa1450e57f8f6e99fb71d0d2
|
Provenance
The following attestation bundles were made for certbot_dns_aliyun_next-1.0.7-py3-none-any.whl:
Publisher:
release.yml on tiyee/certbot-dns-aliyun-next
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
certbot_dns_aliyun_next-1.0.7-py3-none-any.whl -
Subject digest:
9710034c7c5b177f78ffc8ac8ec7d16f1110f4577bd62fa94469d9db1c7997c2 - Sigstore transparency entry: 626118514
- Sigstore integration time:
-
Permalink:
tiyee/certbot-dns-aliyun-next@8ad7168ef6bebdacd91434960405691a6be28fd8 -
Branch / Tag:
refs/tags/v1.0.7 - Owner: https://github.com/tiyee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8ad7168ef6bebdacd91434960405691a6be28fd8 -
Trigger Event:
release
-
Statement type: