Update certs.inc

This commit is contained in:
2023-07-20 19:27:36 -05:00
parent 07ace23a1e
commit 811927597b

View File

@@ -17,8 +17,9 @@ NEWCERT(){
if [ "${NEW_CERT}" != "" ]; then
echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}"
echo
$CERT_DAEMON certonly --webroot -w ${NM_CERTPATH}/letsencrypt-acme-challenge -d ${NEW_CERT}
echo ${NM_CERTPATH}/letsencrypt-acme-challenge
touch ${NM_CERTPATH}/letsencrypt-acme-challenge/test.test
# $CERT_DAEMON certonly --webroot -w ${NM_CERTPATH}/letsencrypt-acme-challenge -d ${NEW_CERT}
# $CERT_DAEMON certonly --dry-run --webroot -w /var/www/html -d ${NEW_CERT}
chown -R root:le ${NM_CERTPATH}