more http-01 => dns-01

This commit is contained in:
AJ ONeal 2019-06-06 06:53:05 +00:00
parent d3f958df98
commit 595de158ee
1 changed files with 4 additions and 4 deletions

View File

@ -111,7 +111,7 @@ tester
set: function(opts) { set: function(opts) {
var ch = opts.challenge; var ch = opts.challenge;
// { type: 'http-01' // or 'dns-01' // { type: 'dns-01' // or 'http-01'
// , identifier: { type: 'dns', value: 'example.com' } // , identifier: { type: 'dns', value: 'example.com' }
// , wildcard: false // , wildcard: false
// , token: 'xxxx' // , token: 'xxxx'
@ -127,7 +127,7 @@ tester
get: function(query) { get: function(query) {
var ch = query.challenge; var ch = query.challenge;
// { type: 'http-01' // or 'dns-01', 'tls-alpn-01', etc // { type: 'dns-01' // or 'http-01', 'tls-alpn-01', etc
// , identifier: { type: 'dns', value: 'example.com' } // , identifier: { type: 'dns', value: 'example.com' }
// // http-01 only // // http-01 only
// , token: 'xxxx' // , token: 'xxxx'
@ -142,9 +142,9 @@ tester
host: ch.dnsHost host: ch.dnsHost
}).then(function(secret) { }).then(function(secret) {
// http-01 // http-01
return { keyAuthorization: secret }; //return { keyAuthorization: secret };
// dns-01 // dns-01
//return { dnsAuthorization: secret }; return { dnsAuthorization: secret };
}); });
}, },