File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ password = YourSuperSecurePassword#@#$*
2424
2525# privkey_path is the path to the certificate private key on your system. Default
2626# assumes you're using acme.sh:
27- # /root/.acme.sh/cert_fqdn/cert_fqdn.key
27+ # /root/.acme.sh/cert_fqdn/cert_fqdn.key or /root/.acme.sh/cert_fqdn_ecc/cert_fqdn.key
2828# privkey_path = /some/other/path
2929
3030# fullchain_path is the path to the full chain (leaf cert + intermediate certs)
3131# on your system. Default assumes you're using acme.sh:
32- # /root/.acme.sh/cert_fqdn/fullchain.cer
32+ # /root/.acme.sh/cert_fqdn/fullchain.cer or /root/.acme.sh/cert_fqdn_ecc/fullchain.cer
3333# fullchain_path = /some/other/other/path
3434
3535# protocol sets the connection protocol, http or https. Include '://' at the end.
Original file line number Diff line number Diff line change 5050FREENAS_ADDRESS = deploy .get ('connect_host' ,'localhost' )
5151VERIFY = deploy .getboolean ('verify' ,fallback = False )
5252PRIVATEKEY_PATH = deploy .get ('privkey_path' ,"/root/.acme.sh/" + DOMAIN_NAME + "/" + DOMAIN_NAME + ".key" )
53+ if os .path .isfile (PRIVATEKEY_PATH )== False :
54+ PRIVATEKEY_PATH = deploy .get ('privkey_path' ,"/root/.acme.sh/" + DOMAIN_NAME + "_ecc/" + DOMAIN_NAME + ".key" )
5355FULLCHAIN_PATH = deploy .get ('fullchain_path' ,"/root/.acme.sh/" + DOMAIN_NAME + "/fullchain.cer" )
56+ if os .path .isfile (FULLCHAIN_PATH )== False :
57+ FULLCHAIN_PATH = deploy .get ('fullchain_path' ,"/root/.acme.sh/" + DOMAIN_NAME + "_ecc/fullchain.cer" )
5458PROTOCOL = deploy .get ('protocol' ,'http://' )
5559PORT = deploy .get ('port' ,'80' )
5660UI_CERTIFICATE_ENABLED = deploy .getboolean ('ui_certificate_enabled' ,fallback = True )
You can’t perform that action at this time.
0 commit comments