mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-04 05:53:19 +00:00 
			
		
		
		
	Modify wazuh-keystore use
This commit is contained in:
		@@ -115,8 +115,8 @@ function_entrypoint_scripts() {
 | 
			
		||||
function_configure_vulnerability_detection() {
 | 
			
		||||
if [ "$INDEXER_PASSWORD" != "" ]; then
 | 
			
		||||
  >&2 echo "Configuring password."
 | 
			
		||||
    echo '$INDEXER_USERNAME' | /var/ossec/bin/wazuh-keystore -f indexer -k username
 | 
			
		||||
    echo '$INDEXER_PASSWORD' | /var/ossec/bin/wazuh-keystore -f indexer -k password
 | 
			
		||||
    echo "$INDEXER_USERNAME" | /var/ossec/bin/wazuh-keystore -f indexer -k username
 | 
			
		||||
    echo "$INDEXER_PASSWORD" | /var/ossec/bin/wazuh-keystore -f indexer -k password
 | 
			
		||||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user