Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-05 00:00:54 -06:00
parent 7ea80490f2
commit cd0c5fdbed

View File

@@ -114,10 +114,12 @@ LISTCERTS(){
echo -e "Expiration Date: ${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}"
fi
echo ""
if [ "${#SUBJECT_NAMES[*]}" -gt 1 ]; then
echo "-d ${SUBJECT},${SUBJECTNAMES2}"
$CERT_DAEMON certonly --webroot -w /var/www/html -d ${SUBJECT},${SUBJECTNAMES2}
else
echo "-d ${SUBJECT}"
$CERT_DAEMON certonly --webroot -w /var/www/html -d ${SUBJECT}
fi
echo ""
done