Giter Club home page Giter Club logo

certbot-auto-docker's Introduction

Certbot-Auto Docker

Automatically generate wildcard certificates using certbot and keep them renewed!

Features

  • Easy to use / configure
  • Set-and-forget: certificates will be kept up-to-date automatically
  • Super low on resources, especially when idle

Supported DNS providers

Adding support for other providers is quite simple, so open an issue if you'd like to see more!

Installation

  1. Clone this repository
  2. Modify docker-compose.yml for your configuration.
    1. You must set at least one domain name (separated by ;), your DNS provider and a contact email (for Let's Encrypt).
    2. After you have verified that everything works, unset the STAGING variable to generate a certificate from the production environment.
  3. Modify your DNS provider's config file in dns-creds/ for authentication.
    1. This is usually an API key, account credentials or something similar.
  4. Run it using docker-compose up -d and you're good to go! Generated certificates will be put in the letsencrypt/ directory.

Using custom certbot arguments

It is possible to add custom arguments to be used when running certbot. This allows you to, for example, add additional delay to wait for DNS changes to propagate before confirming with ACME.

Let's say you wanted to add the following command line arguments:

--dns-cloudflare-propagation-seconds 30
--cert-path my/custom/path

You can tell Certbot-Auto about these arguments by setting the EXTRA_ARGS environment variable like this:

- EXTRA_ARGS=dns-cloudflare-propagation-seconds=30;cert-path=my/custom/path

Disclaimer

I am not affiliated with Certbot or Let's Encrypt, but I am a huge fan! :-)

If you like what they're doing, please consider donating to Let's Encrypt or the EFF.

certbot-auto-docker's People

Contributors

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