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

# do not forget to have proper permissions set on your credentials.ini,
# like chmod 400 <path_to_credentials.ini>
# the auto

# retrieve cert
certbot certonly \
  --authenticator dns-myracloud \
  --dns-myracloud-credentials ./path_to_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.2.tar.gz (10.2 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.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certbot_dns_myracloud-0.1.2.tar.gz
  • Upload date:
  • Size: 10.2 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.2.tar.gz
Algorithm Hash digest
SHA256 96e22cc10a925cc99233874e448ad26108b4e09e5714e3fa18aa42f8bfc7fa9a
MD5 df5c321f5394a29e7b9129ee5b3bd172
BLAKE2b-256 0f948a563c4a348532d119a4a3749be3625d20848240122bf11ada4c3d058a33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for certbot_dns_myracloud-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6ffb422cf71b84522d04023364f1bca8fd38ff4a37b4ec0b66c351566f32cc8
MD5 16dce9da53dff65d11b1035df2b13ee7
BLAKE2b-256 7ac4fc283b1e23527764792284adfee7cba78e25199a55469af918b75fa9608e

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