OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • [SOLVED] Beginner question - How to edit plugins by shell?
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Beginner question - How to edit plugins by shell?  (Read 1233 times)

TheEPOCH

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
[SOLVED] Beginner question - How to edit plugins by shell?
« on: August 06, 2022, 07:43:05 pm »
Hello,

is there a simple (shell) way to edit the plugins?

I found out, that the API URL of a dns challenge service in the ACME plugin is invalid. I allready pull a request for updating the error in the ACME Git, but is there a possibility, to edit the acme plugin manually so that i can use the service in short time?

Thanks
« Last Edit: August 06, 2022, 10:11:36 pm by TheEPOCH »
Logged

TheEPOCH

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: [SOLVED] Beginner question - How to edit plugins by shell?
« Reply #1 on: August 06, 2022, 10:12:54 pm »
I got it in an other way.

There was a file to edit, which was used by the plugin, so the plugin worked with right values then.
Logged

lilsense

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: 12
    • View Profile
Re: [SOLVED] Beginner question - How to edit plugins by shell?
« Reply #2 on: August 08, 2022, 03:00:35 pm »
would you provide additional detail as to how it was done?
Logged

TheEPOCH

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: [SOLVED] Beginner question - How to edit plugins by shell?
« Reply #3 on: August 25, 2022, 05:29:15 pm »
For using the DNS challange with the german provider "All-Inkl", I edited the file

"/usr/local/share/examples/acme.sh/dnsapi/dns_kas.sh"

You have to replace the invalid URL "https://kasapi.kasserver.com/dokumentation/formular.php" with the vaild "https://test-account.com/formular.php".

But this is only temporary. In the future updates it's intended to implement a REST API.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13633
  • Karma: 1174
    • View Profile
Re: [SOLVED] Beginner question - How to edit plugins by shell?
« Reply #4 on: August 25, 2022, 05:30:17 pm »
This is a file shipped with the acme.sh FreeBSD ports package and gets updated once a new version for it is available.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • [SOLVED] Beginner question - How to edit plugins by shell?
 

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