Skip to main content

ClouDNS DNS Authenticator plugin for Certbot

Project description

The certbot-dns-clounds plugin automates the process of completing a dns-01 challenge (acme.challenges.DNS01) by creating, and subsequently removing, TXT records using the ClouDNS API.

Named Arguments

--dns-cloudns-credentials

ClouDNS credentials INI file. (Required)

--dns-cloudns-propagation-seconds

The number of seconds to wait for DNS to propagate before asking the ACME server to verify the DNS record. (Default: 60)

Credentials

Use of this plugin requires a configuration file containing the ClouDNS API credentials.

# Target user ID (see https://www.cloudns.net/api-settings/)
dns_cloudns_auth_id=1234
# Alternatively, one of the following two options can be set:
# dns_cloudns_sub_auth_id=1234
# dns_cloudns_sub_auth_user=foobar

# API password
dns_cloudns_auth_password=password1

The path to this file can be provided interactively or using the --dns-cloudns-credentials command-line argument. Certbot records the path to this file for use during renewal, but does not store the file’s contents.

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

certbot certonly \
  --dns-cloudns \
  --dns-cloudns-credentials ~/.secrets/certbot/cloudns.ini \
  -d example.com
certbot certonly \
  --dns-cloudns \
  --dns-cloudns-credentials ~/.secrets/certbot/cloudns.ini \
  -d example.com \
  -d www.example.com
certbot certonly \
  --dns-cloudns \
  --dns-cloudns-credentials ~/.secrets/certbot/cloudns.ini \
  --dns-cloudns-propagation-seconds 30 \
  -d example.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certbot-dns-cloudns-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

certbot_dns_cloudns-0.2.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file certbot-dns-cloudns-0.2.0.tar.gz.

File metadata

  • Download URL: certbot-dns-cloudns-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/19.6.0

File hashes

Hashes for certbot-dns-cloudns-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c39d94d613ed9177c1a733ec05ef543e5c3d1a3e33a5941dca77768e7bd525b0
MD5 2c2d323a57ff323eafa66e49848bf363
BLAKE2b-256 38a5921066f77023e9a3c20edb77f738b228441f07d1280b6170d041d2aedc79

See more details on using hashes here.

File details

Details for the file certbot_dns_cloudns-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_cloudns-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af4d40f8814c8d574a73d112548fa588a88152c956a7363501db0f5f89d5790f
MD5 726eaa796a0271ff7625040f8023b08b
BLAKE2b-256 337f9c95f295f160d9a7aca0df4ea1b8986fa333d7ac9675e1bef8cf0b7ab6b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page