diff --git a/src/backend/internal/certificate.js b/src/backend/internal/certificate.js index f081e5a..6b1bd1c 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' : '');