I think there as been a change on the python API client in the truenas update 25.10 which cause the deployment to not work anymore.
Traceback (most recent call last):
File "<stdin>", line 16, in <module>
File "/usr/lib/python3/dist-packages/truenas_api_client/__init__.py", line 810, in call
return self.wait(c, callback=callback, job=job, timeout=timeout,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/truenas_api_client/__init__.py", line 863, in wait
return jobobj.result()
^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/truenas_api_client/__init__.py", line 347, in result
raise ValidationErrors(job['exc_info']['extra'] or [])
truenas_api_client.exc.ValidationErrors: [EINVAL] certificate_create.passphrase: String should have at least 1 character