OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: skywalker007 on July 03, 2025, 03:43:05 PM

Title: [acme] Custom deploy hooks?
Post by: skywalker007 on July 03, 2025, 03:43:05 PM
Can I run my own automation script in the acme plugin? It seems to only have a list of commands to choose from.
thanks! Till
Title: Re: [acme] Custom deploy hooks?
Post by: keeka on July 03, 2025, 05:22:24 PM
There is the option in the dropdown to run a remote command via SSH.
You should therefore be able to use that option to run a local command via SSH on localhost. However I'm not sure how you discover the current cert/key/ca paths, should you need it in your script.
Title: Re: [acme] Custom deploy hooks?
Post by: skywalker007 on July 04, 2025, 01:10:09 PM
that works. Thanks for the hint.