Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-25 11:29:34 -05:00
parent 9a48a985c7
commit 7ebc912d72

View File

@@ -735,7 +735,7 @@ NEWCERT(){
# echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
# echo
$CERT_DAEMON certonly -d ${NEW_CERT}
$CERT_DAEMON certonly --webroot -w /opt/lb-data/letsencrypt-acme-challenge -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:le /opt/lb-data/letsencrypt