Plugin for certbot to allow dns-01 acme checks in letsencrypt.
Project description
gcl_certbot_plugin
Plugin for certbot to allow dns-01 acme checks in letsencrypt with Genesis Core integrated DNS.
How to use
# Install the plugin and certbot
pip install gcl_certbot_plugin
# Create certificate
certbot certonly --authenticator=genesis-core \
--genesis-core-endpoint=http://core.local.genesis-core.tech:11010 \
--genesis-core-login=admin \
--genesis-core-password=password \
--domains test.pdns.your.domain
To create a new certificate, in the code
from gcl_certbot_plugin import acme
# Get or creat a client private key
private_key = acme.get_or_create_client_private_key("privkey.pem")
# Get ACME client
client_acme = acme.get_acme_client(private_key, "myemail@example.com")
# Create cert
pkey_pem, csr_pem, fullchain_pem = acme.create_cert(
client_acme,
dns_client,
["test.pdns.your.domain"],
)
For complete example see create_cert script.
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
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 gcl_certbot_plugin-0.0.8.tar.gz.
File metadata
- Download URL: gcl_certbot_plugin-0.0.8.tar.gz
- Upload date:
- Size: 209.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
082f9155f883b757c8f2e2485a16406a58b79863670228aa94f7ac5a7e3e079d
|
|
| MD5 |
d03802b7d76bb71d3312cd4bfe67a0b9
|
|
| BLAKE2b-256 |
2ae4f7e81d922b7cc525e6b59141c219a77f303cd85536237df353168b306548
|
Provenance
The following attestation bundles were made for gcl_certbot_plugin-0.0.8.tar.gz:
Publisher:
publish-to-pypi.yml on infraguys/gcl_certbot_plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gcl_certbot_plugin-0.0.8.tar.gz -
Subject digest:
082f9155f883b757c8f2e2485a16406a58b79863670228aa94f7ac5a7e3e079d - Sigstore transparency entry: 1028015116
- Sigstore integration time:
-
Permalink:
infraguys/gcl_certbot_plugin@594faeaff648c1fa01a6d1059c861b361b874b60 -
Branch / Tag:
refs/tags/0.0.8 - Owner: https://github.com/infraguys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@594faeaff648c1fa01a6d1059c861b361b874b60 -
Trigger Event:
push
-
Statement type:
File details
Details for the file gcl_certbot_plugin-0.0.8-py3-none-any.whl.
File metadata
- Download URL: gcl_certbot_plugin-0.0.8-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95e42f93d7a28904a0ad5bccacef3572842ff3554a6a82998c623433bfd8f2a3
|
|
| MD5 |
c40ce7e1bac936b5d19c4a736e001c3f
|
|
| BLAKE2b-256 |
7ae7e36fb302e77f86c768ba49ca89ba3268650fec4ec59abb892eed4837a26d
|
Provenance
The following attestation bundles were made for gcl_certbot_plugin-0.0.8-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on infraguys/gcl_certbot_plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gcl_certbot_plugin-0.0.8-py3-none-any.whl -
Subject digest:
95e42f93d7a28904a0ad5bccacef3572842ff3554a6a82998c623433bfd8f2a3 - Sigstore transparency entry: 1028015162
- Sigstore integration time:
-
Permalink:
infraguys/gcl_certbot_plugin@594faeaff648c1fa01a6d1059c861b361b874b60 -
Branch / Tag:
refs/tags/0.0.8 - Owner: https://github.com/infraguys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@594faeaff648c1fa01a6d1059c861b361b874b60 -
Trigger Event:
push
-
Statement type: