Skip to content

← All integrations

Storage and virtualisation

Renews the TrueNAS Web UI certificate and checks the active TLS leaf and API binding.

The appliance runs the integration and connects to TrueNAS SCALE / CORE through HTTPS REST / JSON-RPC WebSocket over HTTPS on port 443. No service agent is installed on TrueNAS SCALE / CORE.

What happens

  1. The appliance connects to TrueNAS SCALE / CORE through HTTPS REST / JSON-RPC WebSocket on port 443.
  2. The integration selects JSON-RPC over WebSocket when offered, otherwise REST. A certificate object is imported or reused and only the Web UI binding changes.
  3. The UI restarts, its TLS leaf is checked and a new API session confirms ui_certificate. The previous certificate object and native ACME settings remain.

Technical details

Connection
The integration runs on the appliance, which connects over HTTPS to HTTPS REST / JSON-RPC WebSocket, port 443. No service agent is installed.
What you need
Create a dedicated TrueNAS API key. For 25.04 and later, link it to a user whose privilege grants CERTIFICATE_READ, CERTIFICATE_WRITE, SYSTEM_GENERAL_READ and SYSTEM_GENERAL_WRITE. Supply that user name in USERNAME for 26 and later. Enter the address, HTTPS port and API key. Trust the current Web UI certificate under the appliance's TLS trust.
Platform
CORE 12.0-U3 / 13, SCALE, 25.04+ JSON-RPC
Actions
Discovery, Installation, Verification, Rollback
Integrations
truenas-api 2.0.0
Note
  • Automatic restoration and rollback use previous_state and retained objects, preserve later choices and remove only identified integration objects. No local backup directory is required. FTP, applications and other certificate bindings are unchanged. ACME is the protocol a CA uses to issue certificates automatically.

Next steps