Code Monkey home page Code Monkey logo

fantastic-palm-tree's Introduction

fantastic-palm-tree

Windows scripts & task to automate Let's Encrypt renewals with Crypt::LE (ZeroSSL) but with lots of flexibility

My client wanted to continue to not use IIS since WampServer was already setup and working fine. They used the certificate wizard at ZeroSSL.com to get one started but really needed help to automate the required & frequent renewal process that Let's Encrypt requires. After searching around it seemed most other Windows clients were setup to integrate with IIS so I decided to stay with ZeroSSL. At first I just setup a new task in Task Scheduler to run each renewal command separately but when things broke down for multiple reasons then I expanded things to make it more robust and now I'm sharing what I ended up with where this project includes:

  • ZeroSSL Let's Encrypt cert renewal.xml - Task to import into Windows Task Manager to run CertRenew.cmd daily
  • CertRenew.cmd - NT Command Script (A batch file for Windows not DOS) to renew Let's Encrypt security certificate(s) and run sendEmail.ps1 if needed
  • sendEmail.ps1 - Powershell Script that will send e-mail alert of something new when trying to renew Let's Encrypt security certificate(s)

A script is not provided to copy files to the default folders since you should read the comments in each file due to the many customizations that will be needed. Specifically you need to make sure to review & edit all domain & folder references, create the EmailPassword.txt file along with adding your own e-mail credentials. You'll also need to make sure the Windows binary file is ready (https://github.com/do-know/Crypt-LE/releases) and import the Scheduled Task. Make sure to refer to both https://github.com/do-know/Crypt-LE & https://zerossl.com/usage.html for further revisions if your setup is different.

A custom webpage will be created elsewhere for this soon and better first time instructions are being worked on at https://github.com/J-Rey/fantastic-palm-tree/wiki but in the meantime for support and alternate methods of communication please check with J-Rey here or via TechniSolutions at www.techni.solutions.

fantastic-palm-tree's People

Contributors

j-rey 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.