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