/certbot-dns-dnspod

DNS Authenticator for DNSPOD

Primary LanguagePythonApache License 2.0Apache-2.0

DNSPOD DNS Authenticator plugin for Certbot

https://travis-ci.org/SkyLothar/certbot-dns-dnspod.svg?branch=master https://coveralls.io/repos/github/SkyLothar/certbot-dns-dnspod/badge.svg?branch=master

Use the certbot client to generate a certificate using dnspod.

Prepare an API Token

Fetch an api token on https://www.dnspod.cn/console/user/security

Install certbot and plugin

pip install certbot-dns-dnspod

Create a credentials file

certbot_dns_dnspod:dns_dnspod_email = "DNSPOD-API-REQUIRES-A-VALID-EMAIL"
certbot_dns_dnspod:dns_dnspod_api_token = "DNSPOD-API-TOKEN"

Generate a certificate

certbot certonly -a certbot-dns-dnspod:dns-dnspod \
    [--certbot-dns-dnspod:dns-dnspod-credentials PATH-TO-CREDENTIAL-FILE]
    -d REPLACE-WITH-YOUR-DOMAIN