This commit is contained in:
xiaojunnuo
2025-01-05 01:02:41 +08:00
parent 81b322cd60
commit ab5c7bb75a
9 changed files with 66 additions and 44 deletions

View File

@@ -249,6 +249,9 @@ export class AcmeService {
const httpVerifyPlan = domainVerifyPlan.httpVerifyPlan;
if (httpVerifyPlan) {
const httpChallenge = getChallenge("http-01");
if (httpChallenge == null) {
throw new Error("该域名不支持http-01方式校验");
}
const plan = httpVerifyPlan[fullDomain];
return await doHttpVerify(httpChallenge, plan.httpUploader);
} else {