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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ea5a46f8d42cbbbd4a9ce0e8edd8b3e9415dadaf2427a947d1d7fd92f906382
|
|
| MD5 |
7b9424016b7cf4ce1f5c60a3b868bd67
|
|
| BLAKE2b-256 |
709371d5f3a9f54ebb1d4a95ef0ccdde9585e213fab612cd504d38aeb985a866
|
Provenance
The following attestation bundles were made for certbot_dns_gny-0.3.1.tar.gz:
Publisher:
release.yml on svalgaard/certbot-dns-gny
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
certbot_dns_gny-0.3.1.tar.gz -
Subject digest:
3ea5a46f8d42cbbbd4a9ce0e8edd8b3e9415dadaf2427a947d1d7fd92f906382 - Sigstore transparency entry: 1272309115
- Sigstore integration time:
-
Permalink:
svalgaard/certbot-dns-gny@1e30b27155b4829e9b436910731503e5b2ff9341 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/svalgaard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1e30b27155b4829e9b436910731503e5b2ff9341 -
Trigger Event:
push
-
Statement type:
File details
Details for the file certbot_dns_gny-0.3.1-py3-none-any.whl.
File metadata
- Download URL: certbot_dns_gny-0.3.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56bd3df8948bec27c051051faed88eb6f413d73abcdf0d0cd05915d01576d59d
|
|
| MD5 |
e233856f3390d6422539f779b567eb9c
|
|
| BLAKE2b-256 |
6bd3749ef2e6e8763de25c3528b7d716a35599d8b0701d1da2b90c466985629b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
certbot_dns_gny-0.3.1-py3-none-any.whl -
Subject digest:
56bd3df8948bec27c051051faed88eb6f413d73abcdf0d0cd05915d01576d59d - Sigstore transparency entry: 1272309186
- Sigstore integration time:
-
Permalink:
svalgaard/certbot-dns-gny@1e30b27155b4829e9b436910731503e5b2ff9341 -
Branch / Tag:
refs/tags/v0.3.1 - Owner: https://github.com/svalgaard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1e30b27155b4829e9b436910731503e5b2ff9341 -
Trigger Event:
push
-
Statement type: