Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-11 16:14:44 -06:00
parent 420540361b
commit 84a1c0f273

View File

@@ -440,8 +440,8 @@ NEWCERT(){
fi
done
# $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