Update nodemgmt-scripts.sh

This commit is contained in:
2021-06-06 10:10:22 -05:00
parent 9f5948b8a3
commit dc85aacb10

View File

@@ -509,8 +509,8 @@ NEWCERT(){
# echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
# echo
#$CERT_DAEMON certonly --webroot -w /var/www/html -d ${NEW_CERT}
$CERT_DAEMON certonly --dry-run --webroot -w /var/www/html -d ${NEW_CERT}
$CERT_DAEMON certonly --webroot -w /var/www/html -d ${NEW_CERT}
# $CERT_DAEMON certonly --dry-run --webroot -w /var/www/html -d ${NEW_CERT}
if [ -f /etc/letsencrypt/live/${MAIN_CERT}/cert.pem ]; then
chown -R root:letsencrypt /etc/letsencrypt
chmod -R 6775 /etc/letsencrypt