Let's Encrypt Automation: Run shell scripts

Started by kimnz, February 24, 2019, 12:24:00 AM

Previous topic - Next topic
February 24, 2019, 12:24:00 AM Last Edit: February 24, 2019, 12:27:11 AM by kimnz
I have been looking in Let's Encrypt: Automation for the ability to run a script - one that updates certs on other systems.
Is this currently possible?

If not should it be under Run Command or Run Command: System or Plugin Command?

Thanks,
Kim

I have found the answer to my question:

https://github.com/opnsense/plugins/issues/459#issuecomment-357346601

QuoteFor security reasons it is not possible to inject arbitrary code through the OPNsense GUI. That being said, it's still possible to create custom actions that can be used as "Restart Actions" for our Let's Encrypt plugin.

You'll have to create a custom action for the configd backend service. Please see the documentation for more information:
https://docs.opnsense.org/development/backend/configd.html