Skip to main content

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

gcl_certbot_plugin-0.0.9.tar.gz (209.4 kB view details)

Uploaded Source

Built Distribution

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

gcl_certbot_plugin-0.0.9-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file gcl_certbot_plugin-0.0.9.tar.gz.

File metadata

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

File hashes

Hashes for gcl_certbot_plugin-0.0.9.tar.gz
Algorithm Hash digest
SHA256 a9ed696beb3f840ef9604f3a2f5888d13d2e535a3db8e7b6feda2fa9eca6304a
MD5 4461809ba0da2850effc07073bd9c0db
BLAKE2b-256 1c2af86163b4dd02abed4bc6ae5a1f9d8587d344cbe603eb0c575e26ce1e8c82

See more details on using hashes here.

Provenance

The following attestation bundles were made for gcl_certbot_plugin-0.0.9.tar.gz:

Publisher: publish-to-pypi.yml on infraguys/gcl_certbot_plugin

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

File details

Details for the file gcl_certbot_plugin-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for gcl_certbot_plugin-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b34888c71569ae37b723be9a13839d23025f3744bedc7acda24aa75265c3367d
MD5 851e0f9b3234b72851d8baa7a4446e01
BLAKE2b-256 15f91e12a4fae4ee4f3da89d6dcbabde7eec86b13a8d1fd7cf83f2bd94f2f14e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gcl_certbot_plugin-0.0.9-py3-none-any.whl:

Publisher: publish-to-pypi.yml on infraguys/gcl_certbot_plugin

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