Giter Site home page Giter Site logo

robmdunn / synology-letsencrypt-remote-update Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thenytangel/synology-letsencrypt-remote-update

0.0 0.0 0.0 24 KB

Python script to update a Synology SSL certificate from a remote machine that is running certbot

License: GNU General Public License v3.0

Python 96.77% Dockerfile 3.23%

synology-letsencrypt-remote-update's Introduction

This Python script updates an SSL certificate on a Synology DiskStation

Requirements

  • see requirements.txt

Assumptions

This script assumes that you have already imported the certificate into Synology once. This script looks for a certificate with the same common name as the certificate that was issued. For example, if your certificate is for www.example.com, the script will attempt to update the equivalent Synology certificate with the common name www.example.com

Usage

Example

python3 synology.py --base_url "https://ds.example.com:5001" --username bob --private_key tls.key --fullchain tls.crt [--password ]

Certbot Usage

Certbot Renewal Command

certbot renew ... --deploy-hook /path/to/deployhook.sh

deployhook.sh

python3 /path/to/synology.py --base_url "https://ds.example.com:5001" --username bob --private_key tls.key --fullchain tls.crt [--password <passwd>]

synology-letsencrypt-remote-update's People

Contributors

thenytangel avatar dependabot[bot] avatar robmdunn 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.