|
|
|
@ -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' |
|
|
|
|
|
|
|
|
|