Try DNS challenge in addition to http (#85)

This commit is contained in:
Carl Sutton 2019-05-08 02:07:43 +02:00 committed by jc21
parent ad8eac4f07
commit 0fca64929e

View File

@ -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' : '');