You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] I have searched the existing issues and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs
Describe the bug
Uploading a certificate via SFTP automation to a remote server does not work due to the action type being "configd_upload_sftp" instead of "upload_sftp."
To Reproduce
Steps to reproduce the behavior:
Create a new automation via Services->ACME Client->Automations with the Run Command set to "Upload certificate via SFTP" and a valid configuration
Execute the automation
Log entry "/usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php: Ignoring disabled or invalid automation [uuid]" is created.
Expected behavior
Certificate is uploaded to the remote machine.
Screenshots
n/a
Relevant log files
See above.
Additional context
Changing line 411 in /usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php from
if ($action->enabled && "upload_sftp" === (string)$action->type) {
to
if ($action->enabled && "configd_upload_sftp" === (string)$action->type) {
results in the automation working as expected.
Environment
OPNsense 21.7.6-amd64
os-acme-client 3.5
The text was updated successfully, but these errors were encountered:
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs
Describe the bug
Uploading a certificate via SFTP automation to a remote server does not work due to the action type being "configd_upload_sftp" instead of "upload_sftp."
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Certificate is uploaded to the remote machine.
Screenshots
n/a
Relevant log files
See above.
Additional context
Changing line 411 in /usr/local/opnsense/scripts/OPNsense/AcmeClient/upload_sftp.php from
to
results in the automation working as expected.
Environment
OPNsense 21.7.6-amd64
os-acme-client 3.5
The text was updated successfully, but these errors were encountered: