|
I use acme.sh in a Docker container on Synology NAS no. 1, not as a daemon, just as a run-and-remove container. On NAS no. 1, I have used acme.sh to issue and deploy a wildcard certificate, that I would also like to deploy on Synology NAS no. 2 and also on another machine no. 3 using ssh. I can deploy to NAS no. 1 from no. 1, no problem. I use I can also deploy to NAS no. 2 from no. 1 using And finally, I can deploy to machine no. 3 from NAS no. 1 using However, I can't figure out how to run the container using Or do I have to use Thanks! |
Replies: 2 comments
|
check out this blog post and consider running the script directly on the NAS. It simplify's everything greatly. You can write a small shell script to schedule the renewals that renews the cert then deploy's it to your systems. |
|
Multiple deploy hooks per cert are supported -- pass the flag repeatedly, they are saved together and every renewal redeploys all of them automatically: What is not supported is the same hook twice with different credentials (two |
Multiple deploy hooks per cert are supported -- pass the flag repeatedly, they are saved together and every renewal redeploys all of them automatically:
What is not supported is the same hook twice with different credentials (two
synology_dsmtargets): the deploy config is saved per cert, so the second save overwrites the first and renewals only redeploy the last one. For NAS no. 2, run acme.sh there as well (issue + deploy locally), or push the cert over ssh as in the blog post above.