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'