Code Monkey home page Code Monkey logo

dns-01-manual's Introduction

dns-01-manual

A manual implementation for DNS-01 challenge hook used in dehydrated, a Let's Encrypt client.

When using this hook the script will tell you what to do to complete the DNS-01 challenge of Let's Encrypt.

Examples

/path/to/dehydrated --challenge dns-01 --hook hook.sh --domain test.example.com --config /path/to/config

/path/to/dehydrated --challenge dns-01 --hook /path/to/hook.sh --signcsr /path/to/csr.pem

/path/to/dehydrated --challenge dns-01 --hook /path/to/hook.sh --revoke /path/to/cert.pem

Example run

./dehydrated --challenge dns-01 --hook hook.sh --domain test.example.com --config /path/to/config

# INFO: Using main config file /path/to/config

Startup Hook Executed (startup_hook)y
Processing test.example.com
 + Checking domain name(s) of existing cert... unchanged.
 + Checking expire date of existing cert...
 + Valid till Apr 1 12:00:00 2018 GMT (Longer than 30 days). Ignoring because renew was forced!
 + Signing domains...
 + Generating private key...
 + Generating signing request...
 + Requesting challenge for test.example.com...

Deploy Challenge Token
  Add the following TXT record to the zone definition of test.example.com:

    Name : _acme-challenge.test.example.com
    Value: aaaaaaabbbbbbbcccccccdddddddeeeeeeefffffffg

  Press enter to continue...

 + Responding to challenge for test.example.com...

Clean Challenge Token
  You can remove the following TXT record from the zone definition of test.example.com:

    Name : _acme-challenge.test.example.com
    Value: aaaaaaabbbbbbbcccccccdddddddeeeeeeefffffffg

  Press enter to continue...

 + Challenge is valid!
 + Requesting certificate...
 + Checking certificate...
 + Done!
 + Creating fullchain.pem...
 + Using cached chain!

Deploy Certificate
  Timestamp  : 1234567890
  Certificate: ../certs/test.example.com/cert.pem
  Key        : ../certs/test.example.com/privkey.pem
  Full Chain : ../certs/test.example.com/fullchain.pem
  Chain      : ../certs/test.example.com/chain.pem

 + Done!

Exit hook executed

More info

More hooks: https://github.com/lukas2511/dehydrated/wiki/Examples-for-DNS-01-hooks

Dehydrated: https://github.com/lukas2511/dehydrated

dns-01-manual's People

Contributors

gheja avatar jangins101 avatar

Watchers

 avatar  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.