Giter VIP home page Giter VIP logo

sponsoroo-letsencrypt's Introduction

TechOps Platform - Automated SSL Certicates

This repo contains code for a buildpack container that runs from your CI/CD Pipeline.

It uses LetsEncrypt for automated SSL certificate issuing and renewal.

The ACME client implemented is dehydrated with a single hook for DNS Challenge via GCP Cloud DNS service.

This automation doesn't install the certificates on your system. You have to copy certificate files and configure your webserver yourself.

To persist the certificates data (key materials) between different runs of this container, we use a Google Cloud Storage (GCS) Bucket.

Usage

  • Build the buildpack container
make build
  • Test the automation issuing a fake certificate for your Fully Qualified Domain Name (FQDN) via LetsEncrypt Staging API:
make issue fqdn=dev.example.com

PS: This code uses dns-01 challenge and assumes that you have an authoritative DNS zone for the FQDN informed above, on your GCP Project.

  • If all goes fine, it means you can re-run to issue real certificates, by hitting the LetsEncrypt Production API:
make issue fqdn=dev.example.com letsencrypt_api=prod

Troubleshoot

  • This handy make target gives a shell session on the buildpack container:
make shell

sponsoroo-letsencrypt's People

Contributors

jonathonhill123 avatar datherra avatar

Watchers

James Cloos avatar

sponsoroo-letsencrypt's Issues

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.