|
|
@@ -123,5 +123,11 @@ if [[ $CERTISCASTATUS == true ]]; then |
|
|
|
echo "DateTime: ${DATETIME}" |
|
|
|
echo "NEWFILENAME: ${NEWFILENAME}" |
|
|
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" |
|
|
|
try |
|
|
|
( |
|
|
|
${ROOTPATH}/nebula-cert sign -name ${CANAME} -out-crt ${ROOTPATH}/${NEWFILENAME}.crt -out-key ${ROOTPATH}/${NEWFILENAME}.key |
|
|
|
) |
|
|
|
catch || { |
|
|
|
help_msg |
|
|
|
} |
|
|
|
fi |