File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
manager/src/backend/internal Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,14 @@ const internalSsl = {
26
26
processExpiringHosts : ( ) => {
27
27
if ( ! internalSsl . interval_processing ) {
28
28
logger . info ( 'Renewing SSL certs close to expiry...' ) ;
29
- return utils . exec ( '/usr/bin/certbot renew --webroot=/config/letsencrypt-acme-challenge ' )
29
+ return utils . exec ( '/usr/bin/certbot renew -q ' )
30
30
. then ( result => {
31
31
logger . info ( result ) ;
32
32
internalSsl . interval_processing = false ;
33
33
34
34
return internalNginx . reload ( )
35
35
. then ( ( ) => {
36
+ logger . info ( 'Renew Complete' ) ;
36
37
return result ;
37
38
} ) ;
38
39
} )
@@ -59,7 +60,7 @@ const internalSsl = {
59
60
requestSsl : host => {
60
61
logger . info ( 'Requesting SSL certificates for ' + host . hostname ) ;
61
62
62
- return utils . exec ( '/usr/bin/letsencrypt certonly --agree-tos --email "' + host . letsencrypt_email + '" -n -a webroot --webroot-path=/config/letsencrypt-acme-challenge - d "' + host . hostname + '"' )
63
+ return utils . exec ( '/usr/bin/letsencrypt certonly --agree-tos --email "' + host . letsencrypt_email + '" -n -a webroot -d "' + host . hostname + '"' )
63
64
. then ( result => {
64
65
logger . info ( result ) ;
65
66
return result ;
@@ -73,7 +74,7 @@ const internalSsl = {
73
74
renewSsl : host => {
74
75
logger . info ( 'Renewing SSL certificates for ' + host . hostname ) ;
75
76
76
- return utils . exec ( '/usr/bin/certbot renew --force-renewal --disable-hook-validation --webroot-path=/config/letsencrypt-acme-challenge -- cert-name "' + host . hostname + '"' )
77
+ return utils . exec ( '/usr/bin/certbot renew --force-renewal --disable-hook-validation --cert-name "' + host . hostname + '"' )
77
78
. then ( result => {
78
79
logger . info ( result ) ;
79
80
return result ;
You can’t perform that action at this time.
0 commit comments