Skip to main content

certbot-dns-nameocean

A Certbot DNS authenticator for NameOcean DNS. It answers the ACME dns-01 challenge by adding a TXT record through NameOcean's API and removes it afterwards, so you can get wildcard certificates and certificates for servers that are not reachable from the internet.

Install

pip install certbot-dns-nameocean

Certbot must be installed with pip in the same environment (the snap and distribution packages can't load pip plugins).

Credentials

Create an API key with the dns:read and dns:write scopes in the dashboard. It can be limited to the domains Certbot manages and to your server's IP addresses. The domain's zone must be on NameOcean DNS in the same account.

Put it in an INI file that only you can read:

# ~/.secrets/certbot/nameocean.ini
dns_nameocean_api_key = no_live_...
chmod 600 ~/.secrets/certbot/nameocean.ini

Without --dns-nameocean-credentials, the NAMEOCEAN_API_KEY environment variable is used.

Usage

certbot certonly \
  --authenticator dns-nameocean \
  --dns-nameocean-credentials ~/.secrets/certbot/nameocean.ini \
  -d example.com -d '*.example.com'
Option Default
--dns-nameocean-credentials (none) INI file with dns_nameocean_api_key
--dns-nameocean-propagation-seconds 20 Seconds to wait before Let's Encrypt checks the record

Renewals (certbot renew) reuse the same settings.

How it works

  • The zone is the longest of your NameOcean zones that the name ends with, so _acme-challenge.app.example.com goes into example.com (or into app.example.com if that is its own zone).
  • Each challenge value is its own TXT record with a 5 minute TTL; existing TXT records are left alone, so an apex and its wildcard can be issued together.
  • Cleanup deletes only the records this run added (or, after a restart, the TXT record with exactly that value).

Development

pip install -e '.[dev]'
pytest

Releases: bump version in pyproject.toml, then git tag vX.Y.Z && git push --tags; GitHub Actions tests, builds and publishes to PyPI (trusted publishing).

License

MIT

Metadata

Release files for certbot-dns-nameocean 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for certbot-dns-nameocean 0.1.0
File Size Uploaded Provenance Actions
certbot_dns_nameocean-0.1.0.tar.gz 6.9 kB With provenance Details for certbot_dns_nameocean-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for certbot-dns-nameocean 0.1.0
File Interpreter ABI Platform Actions
certbot_dns_nameocean-0.1.0-py3-none-any.whl Python 3 none any Details for certbot_dns_nameocean-0.1.0-py3-none-any.whl

Total release size: 13.2 kB

Release files / certbot_dns_nameocean-0.1.0.tar.gz

Download URL certbot_dns_nameocean-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
27564ba3dfaef24072060da4f8c6a6d843f893f884d64c041b59601d7d7fdc1a
BLAKE2b-256 checksum
How to use checksums
3bfe24d2f0d1f3db6fb9f5128891fb5c978b3b8eb02c6fe94188948eb5c227c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / certbot_dns_nameocean-0.1.0-py3-none-any.whl

Download URL certbot_dns_nameocean-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fe0405a0fffbcf102927b4bfcd2c7a3e70b90da57a9d9a2c70cc4b7e827df0b
BLAKE2b-256 checksum
How to use checksums
f1faec403b8a1990d1ebd6e4c3803c74fcc80223d2554d39568f80d951e214c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for certbot-dns-nameocean 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for certbot_dns_nameocean-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page