With may thanks to @dan , I solved my first issue with Deploy_freenas.py - my TrueNAS UI is now getting cert updates pushed from my Web Server that pulls them from LE.
My next challenge is that it’s not updating the Apps - in this case, it’s only one app, which is Dockge, that uses the cert using the native TrueNAS Apps interface. (I do have other apps, but they don’t use the cert.)
The output when running deploy_freenas.py is:
root@www:~/scripts/deploy-freenas# ./deploy_freenas.py
Certificate import successful
Certificate list successful
Setting active certificate successful
Deleting certificate freenas_default successful
Deleting certificate letsencrypt-2024-11-24-151501 successful
Deleting certificate letsencrypt-2024-11-24-153535 successful
Error getting apps
<Response [404]>
root@www:~/scripts/deploy-freenas#
What makes this slightly interesting is that the deletions are NOT successful - the one in use by Dockge is still there. (The one that is not in use is deleted, though.)