@@ -832,7 +832,7 @@ const internalCertificate = {
832
832
requestLetsEncryptSsl : ( certificate ) => {
833
833
logger . info ( 'Requesting Let\'sEncrypt certificates for Cert #' + certificate . id + ': ' + certificate . domain_names . join ( ', ' ) ) ;
834
834
835
- const cmd = certbotCommand + ' certonly --non-interactive ' +
835
+ const cmd = certbotCommand + ' certonly ' +
836
836
'--config "' + letsencryptConfig + '" ' +
837
837
'--cert-name "npm-' + certificate . id + '" ' +
838
838
'--agree-tos ' +
@@ -874,7 +874,8 @@ const internalCertificate = {
874
874
// Whether the plugin has a --<name>-credentials argument
875
875
const hasConfigArg = certificate . meta . dns_provider !== 'route53' ;
876
876
877
- let mainCmd = certbotCommand + ' certonly --non-interactive ' +
877
+ let mainCmd = certbotCommand + ' certonly ' +
878
+ '--config "' + letsencryptConfig + '" ' +
878
879
'--cert-name "npm-' + certificate . id + '" ' +
879
880
'--agree-tos ' +
880
881
'--email "' + certificate . meta . letsencrypt_email + '" ' +
@@ -969,7 +970,7 @@ const internalCertificate = {
969
970
renewLetsEncryptSsl : ( certificate ) => {
970
971
logger . info ( 'Renewing Let\'sEncrypt certificates for Cert #' + certificate . id + ': ' + certificate . domain_names . join ( ', ' ) ) ;
971
972
972
- const cmd = certbotCommand + ' renew --force-renewal --non-interactive ' +
973
+ const cmd = certbotCommand + ' renew --force-renewal ' +
973
974
'--config "' + letsencryptConfig + '" ' +
974
975
'--cert-name "npm-' + certificate . id + '" ' +
975
976
'--preferred-challenges "dns,http" ' +
@@ -998,7 +999,8 @@ const internalCertificate = {
998
999
999
1000
logger . info ( `Renewing Let'sEncrypt certificates via ${ dns_plugin . display_name } for Cert #${ certificate . id } : ${ certificate . domain_names . join ( ', ' ) } ` ) ;
1000
1001
1001
- let mainCmd = certbotCommand + ' renew --non-interactive ' +
1002
+ let mainCmd = certbotCommand + ' renew ' +
1003
+ '--config "' + letsencryptConfig + '" ' +
1002
1004
'--cert-name "npm-' + certificate . id + '" ' +
1003
1005
'--disable-hook-validation' +
1004
1006
( letsencryptStaging ? ' --staging' : '' ) ;
@@ -1026,7 +1028,8 @@ const internalCertificate = {
1026
1028
revokeLetsEncryptSsl : ( certificate , throw_errors ) => {
1027
1029
logger . info ( 'Revoking Let\'sEncrypt certificates for Cert #' + certificate . id + ': ' + certificate . domain_names . join ( ', ' ) ) ;
1028
1030
1029
- const mainCmd = certbotCommand + ' revoke --non-interactive ' +
1031
+ const mainCmd = certbotCommand + ' revoke ' +
1032
+ '--config "' + letsencryptConfig + '" ' +
1030
1033
'--cert-path "/etc/letsencrypt/live/npm-' + certificate . id + '/fullchain.pem" ' +
1031
1034
'--delete-after-revoke ' +
1032
1035
( letsencryptStaging ? '--staging' : '' ) ;
0 commit comments