This commit is contained in:
2023-11-11 18:49:41 -06:00
parent e12218c46e
commit 647cc160b1
2 changed files with 42 additions and 31 deletions

View File

@@ -99,15 +99,12 @@ DEL-SSL(){
rm -rf ${NM_CERTPATH}/archive/${DEL_SSL}
rm -rf ${NM_CERTPATH}/live/${DEL_SSL}
rm -f ${NM_CERTPATH}/renewal/${DEL_SSL}.conf
echo -e "${idsCL[Green]}OK${idsCL[Default]}"
echo
echo -e "${idsCL[Green]}OK${idsCL[Default]}"
echo -e "\n${idsCL[LightRed]}The SSL certificate has been fully removed from the node(s).${idsCL[Default]}"
else
echo -e "${idsCL[LightRed]}The SSL files folder for '${idsCL[Red]}${DEL_SSL}${idsCL[LightRed]}' could not be found.${idsCL[Default]}"
echo -e "\n${idsCL[LightRed]}The SSL files folder for '${idsCL[Red]}${DEL_SSL}${idsCL[LightRed]}' could not be found.${idsCL[Default]}"
fi
echo
echo -e "${idsCL[LightRed]}The SSL certificate has been fully removed from the node(s).${idsCL[Default]}"
fi
}