Skip to main content

Name.com DNS Authenticator plugin for the Certbot project

Project description

certbot-dns-namecom

Name.com DNS Authenticator plugin for Certbot.

This plugin automates the process of completing a dns-01 challenge by creating (and removing) TXT records using the Name.com API.

Installation

pip install certbot-dns-namecom

Credentials

Obtain an API token from your Name.com account at https://www.name.com/account/settings/api.

Create a credentials file (e.g. ~/.secrets/namecom.ini):

# Name.com API credentials used by Certbot
dns_namecom_username = myusername
dns_namecom_token = 0123456789abcdef0123456789abcdef01234567

Protect it:

chmod 600 ~/.secrets/namecom.ini

Usage

certbot certonly \
  --dns-namecom-credentials ~/.secrets/namecom.ini \
  -d example.com

Wildcard certificate:

certbot certonly \
  --dns-namecom-credentials ~/.secrets/namecom.ini \
  -d example.com \
  -d '*.example.com'

Custom propagation delay (default: 30s):

certbot certonly \
  --dns-namecom-credentials ~/.secrets/namecom.ini \
  --dns-namecom-propagation-seconds 60 \
  -d example.com

Docker

Ideally used with SWAG: linuxserver/swag image.

Use the universal-package-install mod in your docker-compose.yml:

services:
  swag:
    image: lscr.io/linuxserver/swag:latest
    environment:
      - DOCKER_MODS=linuxserver/mods:universal-package-install
      - INSTALL_PIP_PACKAGES=certbot-dns-namecom
      - VALIDATION=dns
      - DNSPLUGIN=namecom
      # ... other SWAG env vars
    volumes:
      - ./config:/config

Don't forget to create the credentials file at dns-conf/namecom.ini

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_namecom-1.0.0.tar.gz (12.0 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_namecom-1.0.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_namecom-1.0.0.tar.gz.

File metadata

  • Download URL: certbot_dns_namecom-1.0.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for certbot_dns_namecom-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8beae8bd1655307b7d2bcc0fb5a7b65927af1f1af3a5b4e255d33ce7409594cb
MD5 c74acef6c62b4f7ce08c19f0520d6678
BLAKE2b-256 b96635aca096fdd0b917f8f95da3d4517565a658fbf9dac5dad7986d83cf9e0e

See more details on using hashes here.

File details

Details for the file certbot_dns_namecom-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_namecom-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad52c204a5e006bf75be3de7f4eb712fa916cc914645a2ce3d0abc0234b5ab1a
MD5 5f6e2642e88b5cc22cd79f60c0498b39
BLAKE2b-256 a1bf027ac77f5b9e53ea09426485381c03302351e9222e8a310a2cef425d7c17

See more details on using hashes here.

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