Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
[SOLVED] Custom commands for LetsEncrypt
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Custom commands for LetsEncrypt (Read 4497 times)
DonSYS
Newbie
Posts: 11
Karma: 0
[SOLVED] Custom commands for LetsEncrypt
«
on:
May 13, 2018, 01:17:31 am »
Hello all,
First thanks for this amazing firewall, I'm coming from pfSense and noticed a great network performance boost especially with the bandwidth speed.
Now I have a small question with acme.sh on pfsense, we used to write custom commands, but here the acme.sh client is much changed and that's still fine as long as it's more obviously more secure.
I read already that in order to get my restart action I need to create a configd action.
So i done this already by creating actions_acmescripts.conf under
Code:
[Select]
/usr/local/opnsense/service/conf/actions.d
.
then restarted configd service and tested my command like the following:
Code:
[Select]
configctl acmescripts send_pve_cert
It runs properly and all fine, now the simple question, how do I get this to appear in the LetsEncrypt-Restart Actions on GUI side because after adding nothing is added at the frontend.
Any tip is highly appreciated, thanks for your time and for reading my issue.
«
Last Edit: May 19, 2018, 08:24:25 pm by franco
»
Logged
DonSYS
Newbie
Posts: 11
Karma: 0
Re: Custom commands for LetsEncrypt
«
Reply #1 on:
May 15, 2018, 10:22:43 pm »
Guys, no one has any idea, can't believe that no one uses this feature.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Custom commands for LetsEncrypt
«
Reply #2 on:
May 17, 2018, 08:19:53 am »
I'm guessing you need to set a description for your action in order to show up in the GUI, see:
https://docs.opnsense.org/development/backend/configd.html#action-properties
Cheers,
Franco
Logged
DonSYS
Newbie
Posts: 11
Karma: 0
Re: Custom commands for LetsEncrypt
«
Reply #3 on:
May 19, 2018, 02:01:55 pm »
Exactly Franco, that was what I missed, thanks a lot
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1610
Re: Custom commands for LetsEncrypt
«
Reply #4 on:
May 19, 2018, 08:24:07 pm »
Hi Omar,
Ok, great. I've submitted a change to the docs to make this more clear:
https://github.com/opnsense/docs/commit/7b0c44c6acda
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
[SOLVED] Custom commands for LetsEncrypt