From 0fca64929e49bdffa993e25152e6a43b00d0bd39 Mon Sep 17 00:00:00 2001 From: Carl Sutton Date: Wed, 8 May 2019 02:07:43 +0200 Subject: [PATCH] Try DNS challenge in addition to http (#85) --- src/backend/internal/certificate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/internal/certificate.js b/src/backend/internal/certificate.js index f081e5a6..6b1bd1cd 100644 --- a/src/backend/internal/certificate.js +++ b/src/backend/internal/certificate.js @@ -719,7 +719,7 @@ const internalCertificate = { let cmd = certbot_command + ' certonly --cert-name "npm-' + certificate.id + '" --agree-tos ' + '--email "' + certificate.meta.letsencrypt_email + '" ' + - '--preferred-challenges "http" ' + + '--preferred-challenges "dns,http" ' + '-n -a webroot -d "' + certificate.domain_names.join(',') + '" ' + (debug_mode ? '--staging' : '');