warn about DNS challenges

This commit is contained in:
AJ ONeal 2019-04-02 23:01:57 -06:00
bovenliggende 9ae6a768a7
commit e83f92166d
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen

Bestand weergeven

@ -57,6 +57,9 @@ function myApproveDomains(opts) {
if (!opts.challenges) { opts.challenges = {}; }
opts.challenges['http-01'] = require('le-challenge-fs').create({});
// Note: When implementing a dns-01 plugin you should make it check in a loop
// until it can positively confirm that the DNS changes have propagated.
// That could take several seconds to a few minutes.
opts.challenges['dns-01'] = require('le-challenge-dns').create({});
// explicitly set account id and certificate.id