|
@@ -39,7 +39,7 @@ NODEGROUPS=($(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compa |
|
|
CERTISCASTATUS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.isCa) |
|
|
CERTISCASTATUS=$(${NEBULACERTBINPATH} print -path ${CERTPATH} -json | jq -s --compact-output .[].details.isCa) |
|
|
|
|
|
|
|
|
# Create new file name variable |
|
|
# Create new file name variable |
|
|
NEWFILENAME="${NODENAME}-${DATETIME}" |
|
|
|
|
|
|
|
|
NEWFILENAME="${NODENAME}_${DATETIME}" |
|
|
|
|
|
|
|
|
if [[ $CERTISCASTATUS == true ]]; then |
|
|
if [[ $CERTISCASTATUS == true ]]; then |
|
|
echo "Certificate is the root CA Certificate. Try again with a node certificate." |
|
|
echo "Certificate is the root CA Certificate. Try again with a node certificate." |
|
|