Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[✔️] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[✔️] I have searched the existing issues and I'm convinced that mine is new.
[✔️] When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
The os-acme-client plugin does not support DEPLOY_SSH_REMOTE_CMD.
In my particular situation, OPNsense procures LE certificates and transfer them via SFTP them to my various VM. However, the remote server (e.g. nginx) needs to be reloaded/restarted in order for the new certificate to take effect. DEPLOY_SSH_REMOTE_CMD is the mechanism that Acme.sh uses for this purpose (and gives examples to that effect at https://github.com/acmesh-official/acme.sh/wiki/deployhooks#examples-using-ssh-deploy)
Describe the solution you'd like
I would like an input field added to the existing "Upload certificate via SFTP" automation in the advanced options section to allow for a remote command to pasted (e.g. sudo /etc/init.d/nginx reload) and provided to the acme.sh script.
Additional context
This issue is related to related to #2627 (since closed). In that issue, the specific problem was around deploying to a Unifi controller, however there was a proposal to add DEPLOY_SSH_REMOTE_CMD (#2627 (comment)) was offered (though rejected), and a dedicated "Unifi (local)" option was added instead.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[✔️] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[✔️] I have searched the existing issues and I'm convinced that mine is new.
[✔️] When the request is meant for an existing plugin, I've added its name to the title.
Is your feature request related to a problem? Please describe.
The os-acme-client plugin does not support
DEPLOY_SSH_REMOTE_CMD.In my particular situation, OPNsense procures LE certificates and transfer them via SFTP them to my various VM. However, the remote server (e.g. nginx) needs to be reloaded/restarted in order for the new certificate to take effect.
DEPLOY_SSH_REMOTE_CMDis the mechanism that Acme.sh uses for this purpose (and gives examples to that effect at https://github.com/acmesh-official/acme.sh/wiki/deployhooks#examples-using-ssh-deploy)Describe the solution you'd like
I would like an input field added to the existing "Upload certificate via SFTP" automation in the advanced options section to allow for a remote command to pasted (e.g.
sudo /etc/init.d/nginx reload) and provided to the acme.sh script.Additional context
This issue is related to related to #2627 (since closed). In that issue, the specific problem was around deploying to a Unifi controller, however there was a proposal to add
DEPLOY_SSH_REMOTE_CMD(#2627 (comment)) was offered (though rejected), and a dedicated "Unifi (local)" option was added instead.