Certbot dns plugin for DNSPod
Project description
Certbot DNS Plugin for DNSPod
安装
pip install certbot-dns-plugins
配置文件
假如文件路径如下:
~/.secrets/certbot/dnspod.ini
内容:
certbot_dns_plugins:dnspod_token_id = <token id> certbot_dns_plugins:dnspod_token = <token>
chmod:
chmod 600 ~/.secrets/certbot/dnspod.ini
创建证书:
sudo certbot certonly \ -a certbot-dns-plugins:dnspod \ --certbot-dns-plugins:dnspod-credentials ~/.secrets/certbot/dnspod.ini \ -d example.com
自动续期(可以放到crontab中执行):
certbot renew --deploy-hook "service nginx reload"
crontab(每周一的1:01分执行):
1 1 * * 1 certbot renew --deploy-hook "service nginx reload"
其他
官方插件: https://certbot.eff.org/docs/using.html#dns-plugins
其他第三方插件: https://certbot.eff.org/docs/using.html#third-party-plugins
官方插件是参数形式是:
--dns-cloudflare-credentials
而第三方插件的参数是:
--authenticator certbot-dns-plugins:dnspod
或者:
-a certbot-dns-plugins:dnspod
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file certbot-dns-plugins-0.0.1.tar.gz.
File metadata
- Download URL: certbot-dns-plugins-0.0.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
533478c76f9dd66350430dbaf1fd699a0045f3c31895f07bdcbe2a77c0f2b76f
|
|
| MD5 |
1ec4110c63faf3a299002e9c33c7591b
|
|
| BLAKE2b-256 |
755d0444a5383fc7227e8d4a01ad8391ed4d6ebda9a98818444adb5384cd4e73
|