Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
DEPLOY_TRUENAS_APIKEY, DEPLOY_TRUENAS_HOSTNAME, DEPLOY_TRUENAS_PROTOCOL are set to undefined config value acme_truenasws_apikey, acme_truenasws_hostname, acme_truenasws_protocol.
To Reproduce
Steps to reproduce the behavior:
- Go to Services - ACME Client - Automations
- Click on "Automations" tab
- Create or edit an automation, choose "Update certificate to TrueNAS Server (Websocket API)" on Run Command
- Enter the API key, hostname and scheme
- Add this automation to a certificate setting, manually run the automation
- See the automation failed with error "TrueNAS API key not found, please set the DEPLOY_TRUENAS_APIKEY environment variable."
Expected behavior
The console shows "Environment variables: OK" when the acme script truenas_ws.sh gets correct variables.
Screenshots
Config definition:

Environment variable mappings:

Additional context
Relevant files:
security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogAction.xml
security/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeAutomation/AcmeTruenasWs.php
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
DEPLOY_TRUENAS_APIKEY,DEPLOY_TRUENAS_HOSTNAME,DEPLOY_TRUENAS_PROTOCOLare set to undefined config valueacme_truenasws_apikey,acme_truenasws_hostname,acme_truenasws_protocol.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The console shows "Environment variables: OK" when the acme script truenas_ws.sh gets correct variables.
Screenshots


Config definition:
Environment variable mappings:
Additional context
Relevant files:
security/acme-client/src/opnsense/mvc/app/controllers/OPNsense/AcmeClient/forms/dialogAction.xmlsecurity/acme-client/src/opnsense/mvc/app/library/OPNsense/AcmeClient/LeAutomation/AcmeTruenasWs.php