Skip to content

Commit

Permalink
Update ACME challenge domain prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
FLYBYME committed Feb 11, 2024
1 parent 492c4b2 commit 02ecb37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/certificates.acme.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ module.exports = {
email,
termsOfServiceAgreed: true,
challengeCreateFn: async (authz, challenge, keyAuthorization) => {
const fqdn = authz.identifier.value;
const fqdn = `_acme-challenge.${authz.identifier.value}`;
const data = keyAuthorization;

this.logger.info(`challengeCreateFn ${domainObject.domain} ${email} ${environment} ${fqdn} ${data}`);
Expand All @@ -376,7 +376,7 @@ module.exports = {
return record;
},
challengeRemoveFn: async (authz, challenge, keyAuthorization) => {
const fqdn = authz.identifier.value;
const fqdn = `_acme-challenge.${authz.identifier.value}`;
const data = keyAuthorization;

this.logger.info(`challengeRemoveFn ${domainObject.domain} ${email} ${environment} ${fqdn} ${data}`);
Expand Down

0 comments on commit 02ecb37

Please sign in to comment.