Last active
July 12, 2025 17:11
-
Star
(109)
You must be signed in to star a gist -
Fork
(21)
You must be signed in to fork a gist
-
-
Save catchdave/69854624a21ac75194706ec20ca61327 to your computer and use it in GitHub Desktop.
CLI script to programmatically replace SSL certs on Synology NAS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MOVED to public repo: https://github.com/catchdave/ssl-certs/blob/main/replace_synology_ssl_certs.sh |
/usr/syno/bin/synow3tool --nginx=reloadwill reload NGINX and take care of most things, and it's very fast.
It do nothing for me unfortunately, I went to Lego ACME + custom script just for better ACME supports like ARI or profiles
Now I have to went back to use acme.sh again, because its deploy hook is using Syno's API to replace the certificates, which will make system reload the certificate without any problem or downtimes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/usr/syno/bin/synow3tool --nginx=reloadwill reload NGINX and take care of most things, and it's very fast.However, depending on packages you have installed, it won't always regenerate new certs where they're needed. YMMV.