Git Product home page Git Product logo

certbot-dns-yandex's Introduction

Certbot Plugin: Yandex DNS

Yandex DNS Authenticator plugin for Certbot

Overview

Package provide certbot authenticator plugin for Yandex DNS (aka PDD) which allows to perform dns-01 probe. This kind of challange is the only way for now to issue wildcard certificates with certbot.

NOTE This plugin will not be requested to merge in certbot repo until like issues certbot/certbot#6464, certbot/certbot#6503, and certbot/certbot#6504 are solved first.

Installation

The easies way to install plugin is insllation the plugin directly from git with PIP.

pip install git+https://github.com/daskol/certbot-dns-yandex.git

Usage

There is nothing special to use the plugin for certificate management. Essentially, the only things one should do is explicitely specify authenticator with option -a of certbot. Credentials to plugin could be passed either with CLI option --dns-yandex-token or environment variable YANDEX_PDD_TOKEN. The env variable has higher priority then CLI option. See example below.

export YANDEX_PDD_TOKEN=<secret-token>
certbot certonly -a dns-yandex --dns-yandex-token <secret-token> ...

CLI

The package provides CLI yandex-dns for management DNS records in Yandex DNS from shell as well. As soon as the package installed one can list, add, or remove DNS records (several examples below).

# List DNS records for a domain.
yandex-dns ls example.org
# Remove domain by DNS record ID for a domain.
yandex-dns rm example.org 31513386
# Add TXT record to DNS for a domain.
yandex-dns add example.org TXT "Hello, world!" --subdomain greeting

certbot-dns-yandex's People

Contributors

daskol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

timj85 jonasasx

certbot-dns-yandex's Issues

Не удаляется TXT запись при получении сертификатов на несколько доменов

При получении сертификатов на несколько доменов (-d domain.ru -d *.domain.ru), когда плагин прекращает работу, он удалzет только одну из двух созданных записей.
Также, хотелось бы немного модернизировать алгоритм, в частности, чтобы при повторном запуске, плагин использовал те же записи, если предыдущая попытка получения была неудачной. Если это, конечно возможно. А то я уже неделю не могу получить сертификат. Время ожидания выставил уже 2.5 часа, но все равно безуспешно...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.