From efa512a3f6b525b252e8a99e2341bcc68e693345 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 24 Feb 2023 03:16:52 +0800 Subject: [PATCH] #374 --- class/core/site_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/class/core/site_api.py b/class/core/site_api.py index a1ce231b0..e460f7f77 100755 --- a/class/core/site_api.py +++ b/class/core/site_api.py @@ -990,6 +990,10 @@ class site_api: result = mw.execShell(cmd) src_path = acme_dir + '/' + domains[0] + src_path_ecc = acme_dir + '/' + domains[0] + '_ecc' + if os.path.exists(src_path_ecc): + src_path = src_path_ecc + src_cert = src_path + '/fullchain.cer' src_key = src_path + '/' + domains[0] + '.key'