mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 06:11:57 +00:00
Indexer tag and wazuh-keystore updates
This commit is contained in:
@@ -115,7 +115,8 @@ function_entrypoint_scripts() {
|
|||||||
function_configure_vulnerability_detection() {
|
function_configure_vulnerability_detection() {
|
||||||
if [ "$INDEXER_PASSWORD" != "" ]; then
|
if [ "$INDEXER_PASSWORD" != "" ]; then
|
||||||
>&2 echo "Configuring password."
|
>&2 echo "Configuring password."
|
||||||
sed -i "s|<password>VDPass</password>|<password>$INDEXER_PASSWORD</password>|g" /var/ossec/etc/ossec.conf
|
/var/ossec/bin/wazuh-keystore -f indexer -k user -v $INDEXER_USERNAME
|
||||||
|
/var/ossec/bin/wazuh-keystore -f indexer -k password -v $INDEXER_PASSWORD
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -108,8 +108,6 @@
|
|||||||
<host>https://wazuh2.indexer:9200</host>
|
<host>https://wazuh2.indexer:9200</host>
|
||||||
<host>https://wazuh3.indexer:9200</host>
|
<host>https://wazuh3.indexer:9200</host>
|
||||||
</hosts>
|
</hosts>
|
||||||
<username>admin</username>
|
|
||||||
<password>VDPass</password>
|
|
||||||
<ssl>
|
<ssl>
|
||||||
<certificate_authorities>
|
<certificate_authorities>
|
||||||
<ca>/etc/ssl/root-ca.pem</ca>
|
<ca>/etc/ssl/root-ca.pem</ca>
|
||||||
|
@@ -108,8 +108,6 @@
|
|||||||
<host>https://wazuh2.indexer:9200</host>
|
<host>https://wazuh2.indexer:9200</host>
|
||||||
<host>https://wazuh3.indexer:9200</host>
|
<host>https://wazuh3.indexer:9200</host>
|
||||||
</hosts>
|
</hosts>
|
||||||
<username>admin</username>
|
|
||||||
<password>VDPass</password>
|
|
||||||
<ssl>
|
<ssl>
|
||||||
<certificate_authorities>
|
<certificate_authorities>
|
||||||
<ca>/etc/ssl/root-ca.pem</ca>
|
<ca>/etc/ssl/root-ca.pem</ca>
|
||||||
|
@@ -106,8 +106,6 @@
|
|||||||
<hosts>
|
<hosts>
|
||||||
<host>https://wazuh.indexer:9200</host>
|
<host>https://wazuh.indexer:9200</host>
|
||||||
</hosts>
|
</hosts>
|
||||||
<username>admin</username>
|
|
||||||
<password>VDPass</password>
|
|
||||||
<ssl>
|
<ssl>
|
||||||
<certificate_authorities>
|
<certificate_authorities>
|
||||||
<ca>/etc/ssl/root-ca.pem</ca>
|
<ca>/etc/ssl/root-ca.pem</ca>
|
||||||
|
Reference in New Issue
Block a user