Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

damnever/synology-acme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renew Synology's certificates with acme.sh. It does backup and rollback things automatically.

DNS challenge works as expected but API challenge may not be working since 80/443 has been banned by XXX in China.

# Install acme.sh
curl https://get.acme.sh | sh

# Download this script
curl https://raw.githubusercontent.com/damnever/synology-acme/master/synology_acme_renew.py -o acme-renew.py

# Example usage for DNS challenge(https://github.com/Neilpang/acme.sh/wiki/dnsapi):
# ACMESH_PATH=/usr/local/share/acme.sh/acme.sh
env DOMAIN=*.X.X DNS_PROVIDER=dns_gd GD_Key=abc GD_Secret=xyz python acme-renew.py