Skip to content

Commit

Permalink
Update site.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Dec 21, 2024
1 parent 212be88 commit f3b07bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/utils/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '签发失败,您尝试申请证书的失败次数已达上限!\
<p>1、检查域名是否正确解析到本服务器,或解析还未完全生效</p>\
Expand Down

0 comments on commit f3b07bd

Please sign in to comment.