Metadata-Version: 2.1
Name: certbot-dnspod
Version: 0.1.2
Summary: A certbot plugin for DNSPod
Home-page: https://github.com/codeif/certbot-dnspod
License: BSD-3-Clause
Author: codeif
Author-email: me@codeif.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: certbot (>=1.23.0,<2.0.0)
Requires-Dist: dnspod-sdk (>=0.0.2,<0.0.3)
Requires-Dist: zope.interface (>=5.4.0,<6.0.0)
Project-URL: Repository, https://github.com/codeif/certbot-dnspod
Description-Content-Type: text/markdown

# certbot-dnspod

A certbot plugin for DNSPod

## 安装

```
pip install certbot-dnspod
```

## 创建证书

```
sudo certbot certonly \
--authenticator certbot-dnspod \
--certbot-dnspod-credentials ~/.secrets/certbot/dnspod.ini \
-d example.com \
-d *.example.com
```

其中~/.secrets/certbot/dnspod.ini为配置文件路径，内容

```
certbot_dnspod_token_id = <your token id>
certbot_dnspod_token = <your token>
```

chmod

```
chmod 600 ~/.secrets/certbot/dnspod.ini
```

## 参数

官方插件是参数形式是
```
--dns-cloudflare-credentials
```

而第三方插件的参数是::

```
--authenticator certbot-dnspod
```

或者

```
-a certbot-dnspod
```

## 其他

- [certbot命令行参数](https://eff-certbot.readthedocs.io/en/stable/using.html#certbot-command-line-options)
- [编写一个certbot插件](https://certbot.eff.org/docs/contributing.html#writing-your-own-plugin)
- [官方插件](https://certbot.eff.org/docs/using.html#dns-plugins)
- [三方插件](https://certbot.eff.org/docs/using.html#third-party-plugins)
- [poetry加自定义的entry_points](https://python-poetry.org/docs/pyproject/#plugins)


