diff --git a/web/utils/site.py b/web/utils/site.py index fb122e447a..d18a1f4dd6 100644 --- a/web/utils/site.py +++ b/web/utils/site.py @@ -2391,6 +2391,9 @@ def createAcmeDns(self, site_name, domains, email, dnspai, wildcard_domain, forc src_path = mw.getAcmeDomainDir(d) src_cert = src_path + '/fullchain.cer' src_key = src_path + '/' + d + '.key' + if not os.path.exists(src_cert): + src_cert = src_path + '/'+d+'.cer' + # src_cert.replace("\\*", "*") msg = '签发失败,您尝试申请证书的失败次数已达上限!\
1、检查域名是否正确解析到本服务器,或解析还未完全生效
\