OPNsense Forum

English Forums => Development and Code Review => Topic started by: TheEPOCH on August 06, 2022, 07:43:05 pm

Title: [SOLVED] Beginner question - How to edit plugins by shell?
Post by: TheEPOCH 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
Title: Re: [SOLVED] Beginner question - How to edit plugins by shell?
Post by: TheEPOCH 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.
Title: Re: [SOLVED] Beginner question - How to edit plugins by shell?
Post by: lilsense on August 08, 2022, 03:00:35 pm
would you provide additional detail as to how it was done?
Title: Re: [SOLVED] Beginner question - How to edit plugins by shell?
Post by: TheEPOCH 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.
Title: Re: [SOLVED] Beginner question - How to edit plugins by shell?
Post by: franco 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