mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-03 21:43:15 +00:00 
			
		
		
		
	@@ -34,8 +34,8 @@ chmod 700 /$CERT_TOOL
 | 
			
		||||
# Creating Cluster certificates
 | 
			
		||||
##############################################################################
 | 
			
		||||
 | 
			
		||||
/$CERT_TOOL
 | 
			
		||||
/$CERT_TOOL -A
 | 
			
		||||
echo "Moving created certificates to destination directory"
 | 
			
		||||
cp /certs/* /certificates/
 | 
			
		||||
cp /wazuh-certificates/* /certificates/
 | 
			
		||||
echo "changing certificate permissions"
 | 
			
		||||
chmod -R 666 /certificates/*
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ else
 | 
			
		||||
  exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
chmod 755 $CERT_TOOL && bash /$CERT_TOOL
 | 
			
		||||
chmod 755 $CERT_TOOL && bash /$CERT_TOOL -A
 | 
			
		||||
 | 
			
		||||
# copy to target
 | 
			
		||||
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 /opensearch.yml ${TARGET_DIR}${CONFIG_DIR}
 | 
			
		||||
# 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