update comment
This commit is contained in:
parent
54e9e9ec16
commit
17a1535dcc
3
node.js
3
node.js
|
@ -389,8 +389,7 @@ ACME._challengeToAuth = function (me, options, request, challenge, dryrun) {
|
|||
auth.thumbprint = me.RSA.thumbprint(options.accountKeypair);
|
||||
// keyAuthorization = token || '.' || base64url(JWK_Thumbprint(accountKey))
|
||||
auth.keyAuthorization = challenge.token + '.' + auth.thumbprint;
|
||||
// conflicts with ACME challenge id url, if we ever decide to use it, but this just makes sense
|
||||
// (as opposed to httpUrl or challengeUrl or uri, etc - I'd be happier to call the id url a uri)
|
||||
// conflicts with ACME challenge id url is already in use, so we call this challengeUrl instead
|
||||
auth.challengeUrl = 'http://' + auth.identifier.value + ACME.challengePrefixes['http-01'] + '/' + auth.token;
|
||||
auth.dnsHost = dnsPrefix + '.' + auth.hostname.replace('*.', '');
|
||||
auth.dnsAuthorization = ACME._toWebsafeBase64(
|
||||
|
|
Loading…
Reference in New Issue