Skip to content

Commit 2f6e1ac

Browse files
committed
updates
1 parent 3aebe87 commit 2f6e1ac

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

deploy_config.example

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ api_key = YourNewlyGeneratedAPIKey#@#$*
2929
# ftp_enabled = true
3030

3131
# set apps_enabled to true if you want to update your TrueNAS SCALE chart applications to use the new certificate. Default is false.
32+
# If this is enabled, any catalog app that's already set to use a certificate will be updated to use the new one. Custom apps,
33+
# or apps without a certificate configured, will not be adjusted.
3234
# apps_enabled = true
3335

34-
# only update TrueNAS SCALE chart applications where the san of the current and the new cert matches. Default is false.
35-
#apps_only_matching_san = true
36-
3736
# Certificates will be given a name with a timestamp, by default it will be
3837
# letsencrypt-yyyy-mm-dd-hhmmss. You can change the first part if you like.
3938
# cert_base_name = something_else

deploy_freenas.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env python3
22

33
"""
4-
Import and activate a SSL/TLS certificate into FreeNAS 11.1 or later
5-
Uses the FreeNAS/TrueNAS API to make the change, so everything's properly saved in the config
4+
Import and activate a SSL/TLS certificate into TrueNAS SCALE 24.10 or later
5+
Uses the TrueNAS API to make the change, so everything's properly saved in the config
66
database and captured in a backup.
77
88
Requires paths to the cert (including the any intermediate CA certs). If deploying to a
@@ -111,4 +111,3 @@
111111
name = cert['name']
112112
if name.startswith(CERT_BASE_NAME) and cert['id'] != cert_id:
113113
c.call("certificate.delete", cert['id'], job=True)
114-

0 commit comments

Comments
 (0)