Coder Social home page Coder Social logo

letsencrypt-automation's Introduction

letsencrypt-automation

This project was created to help support automating lets encrypt certificate automation.

The run.sh script runs the renewal process over http and as a standalone service. This gets proxied through haproxy acl rules directly to the letsencrypt system (vm/docker) So that any port 80 traffic set on any IP (resolving external DNS) can find it way back for the challenge and validate the certificate generation.


This script supports

Apache/Nginx

Haproxy

Webmin

PFSense

  • PfSense has an attached sed template file for replacing the existing letsencrypt certificate files. You must have the certificate uploaded and configed to a name prior to use. Then you modify that file to regex your named "Certificate" in pfsense and this will update and force a reload of the webui. Put that file (pattern.template) in the same directory as this run.sh.

Modify for your use!

I've been doing this for a couple years now.


This script relies on ssh passwordless logins (as root). A quick google will show you how to generate keys and use ssh-copy-id. Pfsense on the other hand requires additional configuration with the admin user for persistant upgrades otherwise these keys are lost and need to be manually added. This is done by appending the key inside the admin users configuration.

Login to your Webui,

System > User Management > Admin

Paste Key inside "Authorized SSH Keys" textbox and save

letsencrypt-automation's People

Contributors

tylerhoadley avatar

Watchers

James Cloos 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.