Update certs.inc
This commit is contained in:
@@ -338,7 +338,7 @@ LISTCERTS(){
|
|||||||
echo -en "\033[KEnter new Alternate Names (comma-delimited): "
|
echo -en "\033[KEnter new Alternate Names (comma-delimited): "
|
||||||
read -i "${SUBJECTNAMES}" -e SUBJECTNAMES
|
read -i "${SUBJECTNAMES}" -e SUBJECTNAMES
|
||||||
SUBJECTNAMES=${SUBJECTNAMES//, /,}
|
SUBJECTNAMES=${SUBJECTNAMES//, /,}
|
||||||
echo -e "\033[5A"; for (( c=1; c<=5; c++ )); do echo -e "\033[K"; done; echo -e "\033[5A"
|
echo -e "\033[6A"; for (( c=1; c<=6; c++ )); do echo -e "\033[K"; done; echo -e "\033[6A"
|
||||||
;;
|
;;
|
||||||
2) [ "${monitored}" == "-" ] && monitored='Yes' || monitored='-';;
|
2) [ "${monitored}" == "-" ] && monitored='Yes' || monitored='-';;
|
||||||
[Dd])
|
[Dd])
|
||||||
@@ -348,7 +348,7 @@ LISTCERTS(){
|
|||||||
case "${delconfirm}" in
|
case "${delconfirm}" in
|
||||||
[Yy])
|
[Yy])
|
||||||
echo -en "\n\n${idsCL[LightCyan]}Removing certificate ... "
|
echo -en "\n\n${idsCL[LightCyan]}Removing certificate ... "
|
||||||
DEL-SSL ${SITENAME} >/dev/null 2>&1
|
DEL-SSL ${SITENAME} #>/dev/null 2>&1
|
||||||
echo -e "${idsCL[LightGreen]}Done\n${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Done\n${idsCL[Default]}"
|
||||||
[ "${SEARCH}" != "0" ] && LISTCERTS -edit -search ${SEARCH} || LISTCERTS -edit
|
[ "${SEARCH}" != "0" ] && LISTCERTS -edit -search ${SEARCH} || LISTCERTS -edit
|
||||||
exit 0
|
exit 0
|
||||||
@@ -356,6 +356,8 @@ LISTCERTS(){
|
|||||||
*) [ "${delconfirm}" !="" ] echo ;;
|
*) [ "${delconfirm}" !="" ] echo ;;
|
||||||
esac
|
esac
|
||||||
echo -e "\033[5A"; for (( c=1; c<=5; c++ )); do echo -e "\033[K"; done; echo -e "\033[5A"
|
echo -e "\033[5A"; for (( c=1; c<=5; c++ )); do echo -e "\033[K"; done; echo -e "\033[5A"
|
||||||
|
[ "${SEARCH}" != "0" ] && LISTCERTS -edit -search ${SEARCH} || LISTCERTS -edit
|
||||||
|
exit 0
|
||||||
;;
|
;;
|
||||||
[Ee])
|
[Ee])
|
||||||
echo -e "\033[K"
|
echo -e "\033[K"
|
||||||
|
|||||||
Reference in New Issue
Block a user