Giter Club home page Giter Club logo

acme-dns-client's Introduction

acme-dns-client

A client software for acme-dns with emphasis on usability and guidance through setup and additional security safeguard mechanisms. It is designed for usage with existing ACME clients with minimal configuration.

Installation

Features

  • acme-dns account pre-registration
  • Guided CNAME record creation
  • Guided CAA record creation
  • Modular ACME client support for CAA record creation guidance (for ACME-CAA accounturi)
  • Configuration checks to ensure operation (CNAME record, account exisence)
  • Interactive setup

Example usage with Certbot

1. Create a new ACME account

# sudo certbot register

This creates a new ACME account that is used internally by Certbot. In case you are not planning to set up CAA record, this step can be omitted.

2. Create a new acme-dns account for your domain and set it up

# sudo acme-dns-client register -d your.domain.example.org -s https://auth.acme-dns.io

This attempts to create a new account to acme-dns instance running at auth.acme-dns.io. After account creation, the user is guided through proper CNAME record creation for the main DNS zone for domain your.domain.example.org.

Optionally the same will be done for CAA record creation. acme-dns-client will attempt to read the account URL from active Certbot configuration (created in step 1)

acme-dns-client will monitor the DNS record changes to ensure they are set up correctly.

3. Run Certbot to obtain a new certificate

# sudo certbot certonly --manual --preferred-challenges dns \
    --manual-auth-hook 'acme-dns-client' -d your.domain.example.org 

This runs Certbot and instructs it to obtain a new certificate for domain your.domain.example.org by using a DNS challenge and acme-dns-client as the authenticator. After successfully obtaining the new certificate this configuration will be saved in Certbot configuration and will be automatically reused when it renews the certificate.

Usage

acme-dns-client - v0.1

Usage:  acme-dns-client COMMAND [OPTIONS]

Commands:
  register              Register a new acme-dns account for a domain
  check                 Check the configuration and settings of existing acme-dns accounts
  list                  List all the existing acme-dns accounts and perform simple CNAME checks for them

Options:
  --help                Print this help text

To get help for specific command, use:
  acme-dns-client COMMAND --help

EXAMPLE USAGE:
  Register a new acme-dns account for domain example.org:
    acme-dns-client register -d example.org
  
  Register a new acme-dns account for domain example.org, allow updates only from 198.51.100.0/24:
    acme-dns-client register -d example.org -allow 198.51.100.0/24

  Check the configuration of example.org and the corresponding acme-dns account:
    acme-dns-client check -d example.org

  Check the configuration of all the domains and acme-dns accounts registered on this machine:
    acme-dns-client check

  Print help for a "register" command:
    acme-dns-client register --help

acme-dns-client's People

Contributors

jonathangawrych avatar joohoi avatar

Watchers

 avatar

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.