forked from wazuh/wazuh-docker
Cert tool command update
This commit is contained in:
@@ -34,7 +34,7 @@ chmod 700 /$CERT_TOOL
|
|||||||
# Creating Cluster certificates
|
# Creating Cluster certificates
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
/$CERT_TOOL
|
/$CERT_TOOL -A
|
||||||
echo "Moving created certificates to destination directory"
|
echo "Moving created certificates to destination directory"
|
||||||
cp /certs/* /certificates/
|
cp /certs/* /certificates/
|
||||||
echo "changing certificate permissions"
|
echo "changing certificate permissions"
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 755 $CERT_TOOL && bash /$CERT_TOOL
|
chmod 755 $CERT_TOOL && bash /$CERT_TOOL -A
|
||||||
|
|
||||||
# copy to target
|
# copy to target
|
||||||
mkdir -p ${TARGET_DIR}${INSTALLATION_DIR}
|
mkdir -p ${TARGET_DIR}${INSTALLATION_DIR}
|
||||||
|
|||||||
Reference in New Issue
Block a user