OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Let's Encrypt Automation: Run shell scripts
« previous next »
  • Print
Pages: [1]

Author Topic: Let's Encrypt Automation: Run shell scripts  (Read 3139 times)

kimnz

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Let's Encrypt Automation: Run shell scripts
« on: February 24, 2019, 12:24:00 am »
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
« Last Edit: February 24, 2019, 12:27:11 am by kimnz »
Logged

kimnz

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Re: Let's Encrypt Automation: Run shell scripts
« Reply #1 on: March 01, 2019, 10:25:33 am »
I have found the answer to my question:

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

Quote
For 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Let's Encrypt Automation: Run shell scripts
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2