warn about DNS challenges

This commit is contained in:
AJ ONeal 2019-04-02 23:01:57 -06:00
부모 9ae6a768a7
커밋 e83f92166d
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

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