Try DNS challenge in addition to http (#85)
This commit is contained in:
parent
ad8eac4f07
commit
0fca64929e
@ -719,7 +719,7 @@ const internalCertificate = {
|
|||||||
|
|
||||||
let cmd = certbot_command + ' certonly --cert-name "npm-' + certificate.id + '" --agree-tos ' +
|
let cmd = certbot_command + ' certonly --cert-name "npm-' + certificate.id + '" --agree-tos ' +
|
||||||
'--email "' + certificate.meta.letsencrypt_email + '" ' +
|
'--email "' + certificate.meta.letsencrypt_email + '" ' +
|
||||||
'--preferred-challenges "http" ' +
|
'--preferred-challenges "dns,http" ' +
|
||||||
'-n -a webroot -d "' + certificate.domain_names.join(',') + '" ' +
|
'-n -a webroot -d "' + certificate.domain_names.join(',') + '" ' +
|
||||||
(debug_mode ? '--staging' : '');
|
(debug_mode ? '--staging' : '');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user