ACME dns-01 challenge reference implementation for Greenlock v2.7+ (and v3).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

22 lines
554 B

'use strict';
var tester = require('acme-dns-01-test');
var type = 'dns-01';
var challenger = require('./index.js').create({});
// The dry-run tests can pass on, literally, 'example.com'
// but the integration tests require that you have control over the domain
var zone = 'example.com';
tester
// will test example.com, foo.example.com, *.foo.example.com
.testZone(type, zone, challenger)
.then(function() {
console.info('PASS');
})
.catch(function(err) {
console.error('FAIL');
console.error(err);
process.exit(20);
});