Skip to main content

ArvanCloud DNS Authenticator plugin for Certbot

Project description

ArvanCloud DNS Authenticator certbot plugin

This certbot plugin automates the process of completing a dns-01 challenge by creating, and subsequently removing, TXT records using the ArvanCloud DNS API.

Install

Install this package via pip in the same python environment where you installed your certbot.

pip install certbot-dns-arvancloud

Usage

To start using DNS authentication for the ArvanCloud DNS API, pass the following arguments on certbot's command line:

Option Description
--authenticator certbot-dns-arvancloud:dns-arvancloud select the authenticator plugin (Required)
--certbot-dns-arvancloud:dns-arvancloud-credentials ArvanCloud DNS API credentials INI file. (Required)
--certbot-dns-arvancloud:dns-arvancloud-propagation-seconds Seconds to wait for the TXT record to propagate

Credentials

From the ArvanCloud control panel at go to "API Tokens" and add a personal access token.

An example credentials.ini file:

certbot_dns_arvancloud:dns_arvancloud_api_token = Apikey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx

Examples

To acquire a certificate for example.com

certbot certonly \\
 --authenticator certbot-dns-arvancloud:dns-arvancloud \\
 --certbot-dns-arvancloud:dns-arvancloud-credentials /path/to/my/arvancloud.ini \\
 -d example.com

To acquire a certificate for *.example.com

   certbot certonly \\
     --authenticator certbot-dns-arvancloud:dns-arvancloud \\
     --certbot-dns-arvancloud:dns-arvancloud-credentials /path/to/my/arvancloud.ini \\
     -d '*.example.com'

Thanks to

This package is based on https://github.com/ctrlaltcoop/certbot-dns-hetzner and https://github.com/m42e/certbot-dns-ispconfig

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-arvancloud-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file certbot-dns-arvancloud-0.1.0.tar.gz.

File metadata

  • Download URL: certbot-dns-arvancloud-0.1.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for certbot-dns-arvancloud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3542948073b3891ed16b0db34b9ffc6e82a1888615ddf3056c8d4d96bc42b0ec
MD5 6569a00bb7031a5d64c480de986dcdaa
BLAKE2b-256 a06ca93f44aeea9a0e6d28f2abfa7cd1b8919d48ee1a371de1e94ec59f0a2a31

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