Skip to main content

Reg.ru DNS authenticator plugin for Certbot

Project description

certbot-dns-regru

Reg.ru DNS authenticator plugin for Certbot

English|Русский

An authenticator plugin for certbot to support Let's Encrypt DNS challenges (dns-01) for domains managed by the nameservers of Reg.ru.

Huge thanks to @free2er for creating initial version

Requirements

  • certbot (>=0.21.1)

For older Ubuntu distributions check out this PPA: ppa:certbot/certbot

Installation

  1. First install the plugin:

    sudo pip install certbot-dns-regru
    
  2. Configure it with your Reg.ru Credentials:

    sudo nano /etc/letsencrypt/regru.ini
    
  3. Make sure the file is only readable by root! Otherwise all your domains might be in danger:

    sudo chmod 0600 /etc/letsencrypt/regru.ini
    

Usage

Request new certificates via a certbot invocation like this (adjust paths as needed):

Linux:

sudo certbot certonly \
   --authenticator dns-regru \
   --dns-regru-credentials /etc/letsencrypt/regru.ini \
   --dns-regru-propagation-seconds 180 \
   -d sub.domain.tld -d '*.wildcard.tld'

Windows (PowerShell):

certbot certonly \
   --authenticator dns-regru \
   --dns-regru-credentials C:\path\to\regru.ini \
   --dns-regru-propagation-seconds 180 \
   -d sub.domain.tld -d '*.wildcard.tld'
  • Note that shell might try to resolve wildcard subdomain (*), you should put in in parentheses

Renewals will automatically be performed using the same authenticator and credentials by certbot.

See also certbot --help certbot-dns-regru for further information.

SWAG

To use this plugin with docker-swag you need to follow their guide

Add the following environment variables to your container:

DOCKER_MODS=linuxserver/mods:universal-package-install
INSTALL_PIP_PACKAGES=certbot-dns-regru

Then modify /config/dns-conf/regru.ini and provide credentials

Removal

   sudo pip uninstall certbot-dns-regru

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_regru-1.0.5.tar.gz (8.2 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_regru-1.0.5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file certbot_dns_regru-1.0.5.tar.gz.

File metadata

  • Download URL: certbot_dns_regru-1.0.5.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for certbot_dns_regru-1.0.5.tar.gz
Algorithm Hash digest
SHA256 371136347a1aa4ef0ec9d6618d4df2e570004f9093ee9777e84962137cddcd29
MD5 bb4dd7788f51d6451cefd8afb1ed7d34
BLAKE2b-256 3b1b06999795dfb4b67fe37adfd8eeaa078a5a834e635514d40194ab8c86bc07

See more details on using hashes here.

File details

Details for the file certbot_dns_regru-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for certbot_dns_regru-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7a0cb1fc94df095a4ac4eb5e7999c672de22c6da5a54a35e235ffd101b5460
MD5 71e08cec8297b3db81d2343ce15e4d36
BLAKE2b-256 0de8bb8ba695ffc80d198f824508529d504fbd927967d48f55828de7b5d3b2b5

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