Update nodemgmt-scripts.sh
This commit is contained in:
@@ -77,8 +77,9 @@ NEWCERT(){
|
||||
if [ -f /etc/letsencrypt/live/${NEW_CERT}/cert.pem ]; then
|
||||
do_with_root chown -R root:letsencrypt /etc/letsencrypt
|
||||
do_with_root chmod -R 6775 /etc/letsencrypt
|
||||
rm -f /etc/letsencrypt/cert-request.lastrun
|
||||
echo -e "${NEW_CERT}\n${daterun}" > /etc/letsencrypt/cert-renewal.lastrun
|
||||
rm -f /opt/idssys/nodemgmt/cert-request.lastrun
|
||||
echo -e "${NEW_CERT}\n${daterun}" > /opt/idssys/nodemgmt/cert-request.lastrun
|
||||
yes | cp -rfH /opt/idssys/nodemgmt/cert-request.lastrun /etc/letsencrypt/cert-request.lastrun
|
||||
DIVIDER true
|
||||
echo -en "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes... ${idsCL[Default]}"
|
||||
checked=false
|
||||
|
||||
Reference in New Issue
Block a user