Skip to content

Commit

Permalink
Add skipChallengeVerification option to challengeCreateFn
Browse files Browse the repository at this point in the history
  • Loading branch information
FLYBYME committed Feb 12, 2024
1 parent 16d766d commit 47f2a41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/certificates.acme.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ module.exports = {
csr,
email,
termsOfServiceAgreed: true,
skipChallengeVerification: true,
challengeCreateFn: async (authz, challenge, keyAuthorization) => {
const fqdn = `_acme-challenge.${authz.identifier.value}`;
const data = keyAuthorization;
Expand All @@ -371,7 +372,7 @@ module.exports = {

const record = await this.addDnsRecord(ctx, domainObject.owner, domainObject.id, fqdn, data);

await this.waitForRecord(ctx, fqdn, data);
//await this.waitForRecord(ctx, fqdn, data);

return record;
},
Expand Down

0 comments on commit 47f2a41

Please sign in to comment.