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 = {
2626 processExpiringHosts : ( ) => {
2727 if ( ! internalSsl . interval_processing ) {
2828 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 ' )
3030 . then ( result => {
3131 logger . info ( result ) ;
3232 internalSsl . interval_processing = false ;
3333
3434 return internalNginx . reload ( )
3535 . then ( ( ) => {
36+ logger . info ( 'Renew Complete' ) ;
3637 return result ;
3738 } ) ;
3839 } )
@@ -59,7 +60,7 @@ const internalSsl = {
5960 requestSsl : host => {
6061 logger . info ( 'Requesting SSL certificates for ' + host . hostname ) ;
6162
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 + '"' )
6364 . then ( result => {
6465 logger . info ( result ) ;
6566 return result ;
@@ -73,7 +74,7 @@ const internalSsl = {
7374 renewSsl : host => {
7475 logger . info ( 'Renewing SSL certificates for ' + host . hostname ) ;
7576
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 + '"' )
7778 . then ( result => {
7879 logger . info ( result ) ;
7980 return result ;
You can’t perform that action at this time.
0 commit comments