Files
certbot-dns-dnspod/README.rst

44 lines
890 B
ReStructuredText
Raw Normal View History

2018-03-15 00:38:08 +08:00
DNSPod DNS Authenticator plugin for Certbot
-------------------------------------------
A certbot dns plugin to obtain certificates using dnspod.
Obtain API Token
================
https://www.dnspod.cn/console/user/security
Install
=======
.. code-block:: bash
git clone https://github.com/tengattack/certbot-dns-dnspod
cd certbot-dns-dnspod
sudo python setup.py install
2018-03-15 00:38:08 +08:00
Credentials File
================
.. code-block:: ini
certbot_dns_dnspod:dns_dnspod_api_id = 12345
certbot_dns_dnspod:dns_dnspod_api_token = 1234567890abcdef1234567890abcdef
2018-03-15 00:38:08 +08:00
.. code-block:: bash
chmod 600 /path/to/credentials.ini
Obtain Certificates
===================
.. code-block:: bash
certbot certonly -a certbot-dns-dnspod:dns-dnspod \
--certbot-dns-dnspod:dns-dnspod-credentials /path/to/credentials.ini \
-d example.com \
-d "*.example.com"