Skip to main content

Certbot DNS Authenticator plugin for GNY

Project description

certbot-dns-gny

Certbot DNS Authenticator plugin for GNY.

This plugin automates the process of completing a dns-01 challenge by creating and cleaning up TXT records using the GNY API.

Installation

pip install certbot-dns-gny

Credentials

Create an INI file (e.g. /etc/letsencrypt/gny.ini) with your GNY API credentials:

dns_gny_hostname = dns.example.com
dns_gny_token = your-bearer-token

Protect the file:

chmod 600 /etc/letsencrypt/gny.ini

You can also generate a credentials file automatically using gnyclient enroll (see below).

Usage

certbot certonly \
  --authenticator dns-gny \
  --dns-gny-credentials /etc/letsencrypt/gny.ini \
  -d example.com

Options

Option Description Default
--dns-gny-credentials Path to credentials INI file /etc/letsencrypt/gny.ini
--dns-gny-propagation-seconds Seconds to wait for DNS propagation 120

gnyclient

The package includes a gnyclient command-line tool for enrollment and testing.

Enroll

Register with a GNY server and generate a credentials file:

gnyclient enroll gny.example.com you@example.com

This enrolls the server as a GNY client with your email address as contact, and writes the returned credentials to /etc/letsencrypt/gny.ini (with mode 0600). You must confirm the enrollment by subsequently accessing the GNY server directly. Use -c to specify a different path:

gnyclient -c /path/to/gny.ini enroll dns.example.com you@example.com

Test

Verify that the ACME challenge DNS record for a domain is obtainable:

gnyclient test example.com

This performs a test lookup for _acme-challenge.example.com via the GNY API using the credentials file.

License

Apache License 2.0 — see LICENSE for details.

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_gny-0.3.1.tar.gz (10.3 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_gny-0.3.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_gny-0.3.1.tar.gz.

File metadata

  • Download URL: certbot_dns_gny-0.3.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for certbot_dns_gny-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3ea5a46f8d42cbbbd4a9ce0e8edd8b3e9415dadaf2427a947d1d7fd92f906382
MD5 7b9424016b7cf4ce1f5c60a3b868bd67
BLAKE2b-256 709371d5f3a9f54ebb1d4a95ef0ccdde9585e213fab612cd504d38aeb985a866

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_dns_gny-0.3.1.tar.gz:

Publisher: release.yml on svalgaard/certbot-dns-gny

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file certbot_dns_gny-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_gny-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56bd3df8948bec27c051051faed88eb6f413d73abcdf0d0cd05915d01576d59d
MD5 e233856f3390d6422539f779b567eb9c
BLAKE2b-256 6bd3749ef2e6e8763de25c3528b7d716a35599d8b0701d1da2b90c466985629b

See more details on using hashes here.

Provenance

The following attestation bundles were made for certbot_dns_gny-0.3.1-py3-none-any.whl:

Publisher: release.yml on svalgaard/certbot-dns-gny

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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