Code Monkey home page Code Monkey logo

dehydrated-certificate-installers's Introduction

dehydrated-certificate-installers

Tools to install Let's Encrypt certificates which are created with dehydrated, using dns-01 challenge with the TransIP API.

Fortigate

The fortigate.sh script checks if there's a new certificate (with ExpiryDate newer than current certificatet), adds encryption to the privatekey, and uploads it into the fortigate.

Installation: Copy the fortigate.conf and fortigate.sh file into the dehydrated map.

Configuration: Edit the fortigate.conf, set all values for your needs.

Usage: Start fortigate.sh. Default configuration file is fortigate.conf. You can use another configuration file as commandline option.

Fortimail

The fortimail.sh script checks if there's a new certificate (with timestamp today), adds encryption to the privatekey, and uploads it into the fortimail.

For further instructions: same as Fortigate.

update_tlsa

This script checks your TSLA DNS record (hosted by TransIP) for specified dns entry, and create/updates it when your TSLA record is incorrect. It's using the TransIP API. This script is initialy created to create tlsa records from local dehydrated certificates, but is now extended to create tlsa records from remote certificates to!

Installation: Copy the update_tlsa.php into the dehydrated map, where also the TransIP api exists.

Usage: Start the script with at least two commandline options:

update_tlsa.php -h <dnsname> -t <tlsatype without spaces> [ -p <tcp_port> -i <ip address remote service> ]

Start Let's Encrypt

Start startle.sh to manage all certificate and dns update's. I created a simple scriptfile to start the whole process in order, en create a logfile of the whole process. This logfile can be send to yourself to review the process..

You can schedule this script with cron. (e.g. once a week)

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0 6 * * 1 ~/dehydrated/startle.sh

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.