Giter VIP home page Giter VIP logo

docker-powerdns-certbot's Introduction

docker-powerdns-certbot

Let's Encrypt DNS challenge with PowerDNS.

Configuration options

See Dockerfile

CAA record

Since Let’s Encrypt checks CAA records before every certificate we issue, sometimes we get errors even for domains that haven’t set any CAA records.

If you want to generate a certificate for your domain name, make sure that the "CAA" registration is present on the DNS server. Otherwise it will have to be added:

example.com. CAA 0 issue "letsencrypt.org"

How to use

Create certificates

docker run \
    --rm \
    -e "PDNS_API_KEY=XXXXX" \
    -e "PDNS_API_URL=http://localhost:8081/api/v1" \
    -v /docker/letsencrypt:/etc/letsencrypt \
    -t aasaidane/powerdns-certbot \
    create -m [email protected] -d example.com -d www.example.com

Renew certificates

docker run \
    --rm \
    -v /docker/letsencrypt:/etc/letsencrypt \
    -t aasaidane/powerdns-certbot \
    renew

Certbot

docker run \
    --rm \
    -v /docker/letsencrypt:/etc/letsencrypt \
    -t aasaidane/powerdns-certbot \
    certbot --agree-tos --text --authenticator certbot-pdns:auth --renew-by-default certonly -n -m [email protected] -d example.com -d www.example.com

docker-powerdns-certbot's People

Contributors

aasaidane avatar

Stargazers

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