Giter Club home page Giter Club logo

coyote's Introduction

coyote: Automatic let's encrypt / ACME certificate renewal

coyote renews let's encrypt certificates automatically using the ACME protocol. It only performs the necessary steps to renew the certificates, and is usually used in tandem with systemd and nginx.

Quick start

TBW

Command-line use

coyote takes domains to renew as command-line arguments (you can list multiple):

coyote mydomain.example.com [...]

Once started, it will first check if a certificate file named /etc/ssl/mydomain.example.com.crt exists. If it does and its expiration date is at least 30 days in the future, no action will be taken.

If the certificate does not exist or will expire soon, coyote will generate a new keypair (stored as /etc/ssl/private/mydomain.example.com.pem for the private key and /etc/ssl/mydomain.example.com.crt for the public key), generate a certificate signing request (/etc/coyote/mydomain.example.com.csr) and use these items to create a new certificate signed by let's encrypt.

The resulting certificate will be stored as /etc/ssl/mydomain.example.com.crt'**, a chain version is available at **/etc/ssl/mydomain.example.com.chain.crt'.

Webserver configuration

nginx

TBW

Enabling using systemd

TBW

Security

coyote has three dependencies: [acme-tiny](https://github.com/diafygi/acme- tiny), requests and OpenSSL. acme-tiny is meant to be reviewed personally, though it is also installable as a Debian packages called acme-tiny. requests can be installed on Debian in the form of [python3-requests](https://packages. debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=p ython3-requests). Alternatively it can also be installed "manually" using virtualenv.

Since coyote is a single file executable, it can and should also be reviewed manually, similar to acme-tiny.

coyote's People

Contributors

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