Skip to main content

Reg.ru DNS authenticator plugin for Certbot

Project description

certbot-dns-regru

Reg.ru DNS authenticator plugin for Certbot

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 10 \
   -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 10 \
   -d sub.domain.tld -d '*.wildcard.tld'

Notes:

  • Use single quotes around the wildcard domain to prevent shell expansion.
  • The credentials file must be readable only by the user running certbot.
  • Omit the propagation seconds option to use the default (120).

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

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

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.4.tar.gz (8.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_regru-1.0.4-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: certbot_dns_regru-1.0.4.tar.gz
  • Upload date:
  • Size: 8.0 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.4.tar.gz
Algorithm Hash digest
SHA256 285b85630e725e462421f42bfdbb2fc08b85a2038493455990a33109809773fe
MD5 3fa7e920095bfc293bcbb0231fcf6cf7
BLAKE2b-256 a762fdb13fde13a18f22da8987fe1665f2c0abc2f4a02c4f0433af85e969df03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for certbot_dns_regru-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8ebf31f7ead844aa6986d29fe3ca802c8983228ca0e6ffed58fec3cb706c4225
MD5 c19adf9898905530597a4cb3dac33a25
BLAKE2b-256 6685cb9359524007c35b0bb3cedcb876cdfdd4b3f115a3f5726f94b10e8c2575

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