Skip to content

Commit 04925f3

Browse files
authored
Update deploy_freenas.py
Seems acme has updated and the previous deploy_freenas.py doesn't work on my TrueNAS Core, which is the latest version. So I add segment"_ecc" in line 52&53 to stay in line with the latest acme format.
1 parent 69400dc commit 04925f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy_freenas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
DOMAIN_NAME = deploy.get('cert_fqdn',socket.gethostname())
5050
FREENAS_ADDRESS = deploy.get('connect_host','localhost')
5151
VERIFY = deploy.getboolean('verify',fallback=False)
52-
PRIVATEKEY_PATH = deploy.get('privkey_path',"/root/.acme.sh/" + DOMAIN_NAME + "/" + DOMAIN_NAME + ".key")
53-
FULLCHAIN_PATH = deploy.get('fullchain_path',"/root/.acme.sh/" + DOMAIN_NAME + "/fullchain.cer")
52+
PRIVATEKEY_PATH = deploy.get('privkey_path',"/root/.acme.sh/" + DOMAIN_NAME + "_ecc/" + DOMAIN_NAME + ".key")
53+
FULLCHAIN_PATH = deploy.get('fullchain_path',"/root/.acme.sh/" + DOMAIN_NAME + "_ecc/fullchain.cer")
5454
PROTOCOL = deploy.get('protocol','http://')
5555
PORT = deploy.get('port','80')
5656
UI_CERTIFICATE_ENABLED = deploy.getboolean('ui_certificate_enabled',fallback=True)

0 commit comments

Comments
 (0)