From 5b0960b18ddd58553eda9a28e28c14af4107a7cd Mon Sep 17 00:00:00 2001 From: quebim Date: Fri, 18 Oct 2024 16:41:09 -0300 Subject: [PATCH 1/3] Fix openssl error at generating wazuh credentials --- test-tools/pre-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-tools/pre-start.sh b/test-tools/pre-start.sh index ab8142d32f25d..e0e1d4b7ac251 100644 --- a/test-tools/pre-start.sh +++ b/test-tools/pre-start.sh @@ -12,7 +12,7 @@ curl -sO https://packages.wazuh.com/4.9/wazuh-certs-tool.sh chmod +x ./wazuh-certs-tool.sh # Run the Wazuh certs tool -bash ./wazuh-certs-tool.sh -A +OPENSSL_CONF="/etc/ssl/openssl.cnf" ./wazuh-certs-tool.sh -A # Create a tarball of the generated certificates tar -cvf ./wazuh-certificates.tar -C ./wazuh-certificates/ . From f5272726b9a28862f488ae0cada06f85a101709b Mon Sep 17 00:00:00 2001 From: quebim Date: Fri, 18 Oct 2024 17:08:27 -0300 Subject: [PATCH 2/3] Remove installation of unused sspass package --- test-tools/Vagrantfile | 1 - 1 file changed, 1 deletion(-) diff --git a/test-tools/Vagrantfile b/test-tools/Vagrantfile index dbbeb02976274..3cfd351978819 100644 --- a/test-tools/Vagrantfile +++ b/test-tools/Vagrantfile @@ -37,7 +37,6 @@ Vagrant.configure("2") do |config| indexer_2.vm.provision "shell", inline: <<-SHELL sudo systemctl stop ufw sudo systemctl disable ufw - sudo apt install sshpass -y # Add node-1 to /etc/hosts echo "192.168.56.10 node-1" >> /etc/hosts # Copy generated certificates From e14e557fc8bc33b691c7590ed04cfa8c246efab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lex=20Ruiz?= Date: Mon, 21 Oct 2024 11:47:47 +0200 Subject: [PATCH 3/3] Reduce RAM to 4 GB per node --- test-tools/Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-tools/Vagrantfile b/test-tools/Vagrantfile index 3cfd351978819..54cafae781ed1 100644 --- a/test-tools/Vagrantfile +++ b/test-tools/Vagrantfile @@ -12,7 +12,7 @@ Vagrant.configure("2") do |config| indexer_1.vm.network "private_network", ip: "192.168.56.10" indexer_1.vm.hostname = "node-1" indexer_1.vm.provider "libvirt" do |vb| - vb.memory = "6144" + vb.memory = "4096" vb.cpus = "4" end indexer_1.vm.provision "shell", inline: <<-SHELL @@ -31,7 +31,7 @@ Vagrant.configure("2") do |config| indexer_2.vm.network "private_network", ip: "192.168.56.11" indexer_2.vm.hostname = "node-2" indexer_2.vm.provider "libvirt" do |vb| - vb.memory = "6144" + vb.memory = "4096" vb.cpus = "4" end indexer_2.vm.provision "shell", inline: <<-SHELL