warn about DNS challenges

This commit is contained in:
AJ ONeal 2019-04-02 23:01:57 -06:00
parent 9ae6a768a7
commit e83f92166d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni

Vedi File

@ -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