CloudDNS Authenticator plugin for Certbot
Project description
The ~certbot_dns_clouddns.dns_clouddns plugin automates the process of completing a dns-01 challenge (~acme.challenges.DNS01) by creating, and subsequently removing, TXT records using the CloudDNS REST API.
Named Arguments
--authenticator certbot-dns-clouddns:dns-clouddns |
Select the plugin. (Required) |
--certbot-dns-clouddns:dns-clouddns-credentials |
CloudDNS Remote API credentials INI file. (Required) |
--certbot-dns-clouddns:dns-clouddns-propagation-seconds |
The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (Default: 60) |
Installation
certbot-dns-clouddns requires Python 2.7 or 3.5+ to run.
pip install certbot-dns-clouddns
Credentials
Use of this plugin requires a configuration file containing CloudDNS Remote API .
Example credentials file:
# CloudDNS API credentials used by Certbot
certbot-dns-clouddns:dns_clouddns_clientip = myclientid
certbot-dns-clouddns:dns_clouddns_email = myemailaddress
certbot-dns-clouddns:dns_clouddns_password = mysecretpassword
The path to this file can be provided interactively or using the --certbot-dns-clouddns:dns-clouddns-credentials command-line argument. Certbot records the path to this file for use during renewal, but does not store the file’s contents.
Caution
You should protect these API credentials as you would a password. Users who can read this file can use these to issue arbitrary CloudDNS API calls on your behalf. Users who can cause Certbot to run using these credentials can complete a dns-01 challenge to acquire new certificates or revoke existing certificates for associated domains, even if those domains aren’t being managed by this server.
Certbot will emit a warning if it detects that the credentials file can be accessed by other users on your system. The warning reads “Unsafe permissions on credentials configuration file”, followed by the path to the credentials file. This warning will be emitted each time Certbot uses the credentials file, including for renewal, and cannot be silenced except by addressing the issue (e.g., by using a command like chmod 600 to restrict access to the file).
Examples
To acquire a certificate for example.com
certbot certonly \
--authenticator certbot-dns-clouddns:dns-clouddns \
--certbot-dns-clouddns:dns-clouddns-credentials ~/.secrets/certbot/clouddns.ini \
-d example.com
To acquire a single certificate for both example.com and *.example.com
certbot certonly \
--authenticator certbot-dns-clouddns:dns-clouddns \
--certbot-dns-clouddns:dns-clouddns-credentials ~/.secrets/certbot/clouddns.ini \
-d example.com \
-d '*.example.com'
To acquire a certificate for example.com, waiting 240 seconds for DNS propagation
certbot certonly \
--authenticator certbot-dns-clouddns:dns-clouddns \
--certbot-dns-clouddns:dns-clouddns-credentials ~/.secrets/certbot/clouddns.ini \
--certbot-dns-clouddns:dns-clouddns-propagation-seconds 240 \
-d example.com
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
Built Distribution
File details
Details for the file certbot-dns-clouddns-1.0.0.post1.tar.gz
.
File metadata
- Download URL: certbot-dns-clouddns-1.0.0.post1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.6 Linux/4.19.78-coreos
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76591bf7a407275616e5c55d9ceca05b9593eae2c3b089773f1ab3e5491491d8 |
|
MD5 | 658f679d698784dd7630d6f26e6f8c85 |
|
BLAKE2b-256 | 2009d7dcea1e4929f62c45c4d95e2cb4f8539fa62cf4b04ba052cc9491500b3f |
File details
Details for the file certbot_dns_clouddns-1.0.0.post1-py2.py3-none-any.whl
.
File metadata
- Download URL: certbot_dns_clouddns-1.0.0.post1-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.3 CPython/3.7.6 Linux/4.19.78-coreos
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf799fd2f2db0bf0f268c85aab24d74dfe89eb233770e0ac98b2c2219a605211 |
|
MD5 | b88b083a1092eb5ec27f238f60d6bd3f |
|
BLAKE2b-256 | 9ab5b2d13fbd58622bed4d174bae28a35bb6db0b72c2ade407b04c0c0d464d6c |