Skip to main content

Provide Myracloud DNS with Certbot for DNS-01 challenge type

Project description

Certbot DNS-Myracloud Authenticator Plugin

The Certbot DNS-Myracloud Authenticator Plugin facilitates the procurement of SSL/TLS certificates from Let's Encrypt utilizing the DNS-01 challenge methodology in conjunction with Myracloud as the designated DNS service provider. This document elucidates the procedural steps for the installation and operational utilization of this plugin.

Installation

To initialize the Certbot DNS-Myracloud Authenticator Plugin, deploy the following pip command:

pip install certbot-dns-myracloud

Plugin Usage

Upon successful integration of the plugin, it becomes viable to employ it with Certbot for the retrieval of SSL/TLS certificates. The subsequent section delineates the pertinent arguments and their respective examples:

Arguments

Argument Example Value Description
--authenticator dns-myracloud Engages the Myracloud authenticator mechanism. This must be configured as dns-myracloud. (Mandatory)
--dns-myracloud-credentials ./credentials.ini Denotes the directory path to the credentials file for Myracloud DNS. This document must encapsulate the dns_myracloud_auth_token and dns_myracloud_auth_secret variables. (Mandatory)
--dns-myracloud-propagation-seconds 900 Configures the delay prior to initiating the DNS record query. A 900-second interval (equivalent to 15 minutes) is recommended. (Default: 900)

Example

Below is a structured example detailing the application of Certbot in conjunction with the DNS-Myracloud Authenticator Plugin to retrieve a certificate:

# prepare environment
python3 -m venv e
. e/bin/activate

# install myracloud DNS authenticator
pip install certbot-dns-myracloud

# retrieve cert
certbot certonly \
  --authenticator dns-myracloud \
  --dns-myracloud-credentials ./credentials.ini \
  --dns-myracloud-propagation-seconds 180 \
  --server https://acme-v02.api.letsencrypt.org/directory \
  --agree-tos \
  --elliptic-curve secp384r1 \
  --preferred-challenges dns \
  -d 'example.com' \
  -d '*.example.com'

For this example, example.com represents the designated domain (zone) for certificate procurement.

Example of credentials.ini

To operationalize the plugin, it's imperative to curate a credentials.ini file encompassing your Myracloud DNS credentials:

dns_myracloud_auth_token = "your_token_here"
dns_myracloud_auth_secret = "your_secret_here"

It's crucial to replace "your_token_here" and "your_secret_here" placeholders with the genuine Myracloud authentication token and secret. The token's associated service account necessitates membership privileges for record set creation.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

certbot_dns_myracloud-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_myracloud-0.1.0.tar.gz.

File metadata

  • Download URL: certbot_dns_myracloud-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.4-arch1-1

File hashes

Hashes for certbot_dns_myracloud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 149043ced62156f31fdccfe23d151e882456e9f021506d3029b9f4a489189706
MD5 c80673a7b52bb76c696210e61a573917
BLAKE2b-256 8397cbd8007141ef8f2d39f11f989edbdfa1ebd1a6239b106f325ac541fa5ed3

See more details on using hashes here.

File details

Details for the file certbot_dns_myracloud-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_myracloud-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad36275c34f0ea1d985a72cce4fe0ea1524defc518e25b2787c07d6665a9e9b1
MD5 215e69f7f0d62132ec842601623082ec
BLAKE2b-256 853d2b770fbf9a3274c7de7741c5b8ab9919fa67736ba1207cd43129bfb4e80a

See more details on using hashes here.

Supported by

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