Skip to content

Commit 0fca649

Browse files
dogmatic69jc21
authored andcommitted
Try DNS challenge in addition to http (#85)
1 parent ad8eac4 commit 0fca649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/internal/certificate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ const internalCertificate = {
719719

720720
let cmd = certbot_command + ' certonly --cert-name "npm-' + certificate.id + '" --agree-tos ' +
721721
'--email "' + certificate.meta.letsencrypt_email + '" ' +
722-
'--preferred-challenges "http" ' +
722+
'--preferred-challenges "dns,http" ' +
723723
'-n -a webroot -d "' + certificate.domain_names.join(',') + '" ' +
724724
(debug_mode ? '--staging' : '');
725725

0 commit comments

Comments
 (0)