Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Remote command after certificate renewal process possible?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Remote command after certificate renewal process possible? (Read 1632 times)
Tattoofreak
Newbie
Posts: 17
Karma: 0
Remote command after certificate renewal process possible?
«
on:
October 07, 2021, 01:00:43 pm »
Hey folks!
As I am serring up automated certificate renewal with the acme plugin I am wondering if it is possible to execute an automated remote command after certificates have been transferred over the plugin's sftp client to the remote machine. Just like it is possible with pfSense's acme plugin integration.
It would be very helpful if I could restart the remote server's services after certificates have successfully been transferred over.
Thank you in advance for any hints!
Logged
pavelik
Newbie
Posts: 3
Karma: 0
Re: Remote command after certificate renewal process possible?
«
Reply #1 on:
October 07, 2021, 04:54:10 pm »
I am using what you need. In "Automation" I have action which transfer issued certicate by sftp to linux machine. And in linux machine I am using inotify which help me to restart nginx daemon...
https://www.linuxjournal.com/content/linux-filesystem-events-inotify
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Remote command after certificate renewal process possible?