Skip to content

Commit 83c5c55

Browse files
committed
Fixes creation of certificates using the http challenge
1 parent d346911 commit 83c5c55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/internal/certificate.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ const internalCertificate = {
758758
},
759759

760760
/**
761+
* Request a certificate using the http challenge
761762
* @param {Object} certificate the certificate row
762763
* @returns {Promise}
763764
*/
@@ -768,6 +769,7 @@ const internalCertificate = {
768769
'--config "' + letsencryptConfig + '" ' +
769770
'--cert-name "npm-' + certificate.id + '" ' +
770771
'--agree-tos ' +
772+
'--authenticator webroot ' +
771773
'--email "' + certificate.meta.letsencrypt_email + '" ' +
772774
'--preferred-challenges "dns,http" ' +
773775
'--domains "' + certificate.domain_names.join(',') + '" ' +

0 commit comments

Comments
 (0)