mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
@@ -34,8 +34,8 @@ 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 /wazuh-certificates/* /certificates/
|
||||||
echo "changing certificate permissions"
|
echo "changing certificate permissions"
|
||||||
chmod -R 666 /certificates/*
|
chmod -R 666 /certificates/*
|
||||||
|
@@ -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}
|
||||||
@@ -98,6 +98,6 @@ cp -pr /roles.yml ${TARGET_DIR}${INSTALLATION_DIR}/plugins/opensearch-security/s
|
|||||||
cp -pr /internal_users.yml ${TARGET_DIR}${INSTALLATION_DIR}/plugins/opensearch-security/securityconfig/
|
cp -pr /internal_users.yml ${TARGET_DIR}${INSTALLATION_DIR}/plugins/opensearch-security/securityconfig/
|
||||||
cp -pr /opensearch.yml ${TARGET_DIR}${CONFIG_DIR}
|
cp -pr /opensearch.yml ${TARGET_DIR}${CONFIG_DIR}
|
||||||
# Copy Wazuh indexer's demo certificates
|
# Copy Wazuh indexer's demo certificates
|
||||||
cp -pr /certs/* ${TARGET_DIR}${CONFIG_DIR}
|
cp -pr /wazuh-certificates/* ${TARGET_DIR}${CONFIG_DIR}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user