Fixed kibanaserver change password #3063
Merged
Wazuh CI / Distributed Cases - Certificates
succeeded
Jul 30, 2024 in 1m 34s
Test_unattended_distributed_cases
Below you have the stage output
Details
Certificate creation log
--------------------------------
30/07/2024 14:51:16 DEBUG: Checking root permissions.
30/07/2024 14:51:16 DEBUG: Checking sudo package.
30/07/2024 14:51:16 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
30/07/2024 14:51:16 INFO: Verbose logging redirected to /var/log/wazuh-install.log
30/07/2024 14:51:16 DEBUG: YUM package manager will be used.
30/07/2024 14:51:16 DEBUG: Checking system distribution.
30/07/2024 14:51:16 DEBUG: Detected distribution name: amzn
30/07/2024 14:51:16 DEBUG: Detected distribution version: 2
30/07/2024 14:51:16 DEBUG: Installing check dependencies.
30/07/2024 14:51:17 DEBUG: Checking Wazuh installation.
30/07/2024 14:51:17 DEBUG: Checking system architecture.
30/07/2024 14:51:17 INFO: Verifying that your system meets the recommended minimum hardware requirements.
30/07/2024 14:51:17 DEBUG: CPU cores detected: 2
30/07/2024 14:51:17 DEBUG: Free RAM memory detected: 1960
30/07/2024 14:51:17 DEBUG: Installing check dependencies.
30/07/2024 14:51:17 INFO: --- Configuration files ---
30/07/2024 14:51:17 INFO: Generating configuration files.
30/07/2024 14:51:17 DEBUG: Checking if OpenSSL is installed.
30/07/2024 14:51:17 DEBUG: Creating Wazuh certificates.
30/07/2024 14:51:17 DEBUG: Reading configuration file.
30/07/2024 14:51:18 DEBUG: Checking if 172.31.28.39 is private.
30/07/2024 14:51:18 DEBUG: Checking if 172.31.17.191 is private.
30/07/2024 14:51:18 DEBUG: Checking if 172.31.28.39 is private.
30/07/2024 14:51:18 INFO: Generating the root certificate.
30/07/2024 14:51:18 INFO: Generating Admin certificates.
30/07/2024 14:51:18 DEBUG: Generating Admin private key.
30/07/2024 14:51:18 DEBUG: Converting Admin private key to PKCS8 format.
30/07/2024 14:51:18 DEBUG: Generating Admin CSR.
30/07/2024 14:51:18 DEBUG: Creating Admin certificate.
30/07/2024 14:51:18 INFO: Generating Wazuh indexer certificates.
30/07/2024 14:51:18 DEBUG: Creating the certificates for ubuntu_focal_unattended-indexer indexer node.
30/07/2024 14:51:18 DEBUG: Generating certificate configuration.
30/07/2024 14:51:18 DEBUG: Creating the Wazuh indexer tmp key pair.
30/07/2024 14:51:18 DEBUG: Creating the Wazuh indexer certificates.
30/07/2024 14:51:18 INFO: Generating Filebeat certificates.
30/07/2024 14:51:18 DEBUG: Generating the certificates for ubuntu_focal_unattended_master-wazuh server node.
30/07/2024 14:51:18 DEBUG: Generating certificate configuration.
30/07/2024 14:51:19 DEBUG: Creating the Wazuh server tmp key pair.
30/07/2024 14:51:19 DEBUG: Creating the Wazuh server certificates.
30/07/2024 14:51:19 INFO: Generating Wazuh dashboard certificates.
30/07/2024 14:51:19 DEBUG: Generating certificate configuration.
30/07/2024 14:51:19 DEBUG: Creating the Wazuh dashboard tmp key pair.
30/07/2024 14:51:19 DEBUG: Creating the Wazuh dashboard certificates.
30/07/2024 14:51:19 DEBUG: Cleaning certificate files.
30/07/2024 14:51:19 DEBUG: Generating password file.
30/07/2024 14:51:19 DEBUG: Generating random passwords.
30/07/2024 14:51:19 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
--------------------------------
30/07/2024 14:50:53 DEBUG: Checking root permissions.
30/07/2024 14:50:53 DEBUG: Checking sudo package.
30/07/2024 14:50:53 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
30/07/2024 14:50:53 INFO: Verbose logging redirected to /var/log/wazuh-install.log
30/07/2024 14:50:53 DEBUG: YUM package manager will be used.
30/07/2024 14:50:53 DEBUG: Checking system distribution.
30/07/2024 14:50:53 DEBUG: Detected distribution name: amzn
30/07/2024 14:50:53 DEBUG: Detected distribution version: 2
30/07/2024 14:50:53 DEBUG: Installing check dependencies.
30/07/2024 14:50:54 DEBUG: Checking Wazuh installation.
30/07/2024 14:50:54 DEBUG: Checking system architecture.
30/07/2024 14:50:55 INFO: Verifying that your system meets the recommended minimum hardware requirements.
30/07/2024 14:50:55 DEBUG: CPU cores detected: 2
30/07/2024 14:50:55 DEBUG: Free RAM memory detected: 1960
30/07/2024 14:50:55 DEBUG: Installing check dependencies.
30/07/2024 14:50:55 INFO: --- Configuration files ---
30/07/2024 14:50:55 INFO: Generating configuration files.
30/07/2024 14:50:55 DEBUG: Checking if OpenSSL is installed.
30/07/2024 14:50:55 DEBUG: Creating Wazuh certificates.
30/07/2024 14:50:55 DEBUG: Reading configuration file.
30/07/2024 14:50:56 DEBUG: Checking if 172.31.28.39 is private.
30/07/2024 14:50:56 DEBUG: Checking if 172.31.17.191 is private.
30/07/2024 14:50:56 DEBUG: Checking if 172.31.28.39 is private.
30/07/2024 14:50:56 INFO: Generating the root certificate.
30/07/2024 14:50:56 INFO: Generating Admin certificates.
30/07/2024 14:50:56 DEBUG: Generating Admin private key.
30/07/2024 14:50:56 DEBUG: Converting Admin private key to PKCS8 format.
30/07/2024 14:50:56 DEBUG: Generating Admin CSR.
30/07/2024 14:50:56 DEBUG: Creating Admin certificate.
30/07/2024 14:50:56 INFO: Generating Wazuh indexer certificates.
30/07/2024 14:50:56 DEBUG: Creating the certificates for ubuntu_focal_unattended-indexer indexer node.
30/07/2024 14:50:56 DEBUG: Generating certificate configuration.
30/07/2024 14:50:56 DEBUG: Creating the Wazuh indexer tmp key pair.
30/07/2024 14:50:57 DEBUG: Creating the Wazuh indexer certificates.
30/07/2024 14:50:57 INFO: Generating Filebeat certificates.
30/07/2024 14:50:57 DEBUG: Generating the certificates for ubuntu_focal_unattended_master-wazuh server node.
30/07/2024 14:50:57 DEBUG: Generating certificate configuration.
30/07/2024 14:50:57 DEBUG: Creating the Wazuh server tmp key pair.
30/07/2024 14:50:57 DEBUG: Creating the Wazuh server certificates.
30/07/2024 14:50:57 INFO: Generating Wazuh dashboard certificates.
30/07/2024 14:50:57 DEBUG: Generating certificate configuration.
30/07/2024 14:50:57 DEBUG: Creating the Wazuh dashboard tmp key pair.
30/07/2024 14:50:57 DEBUG: Creating the Wazuh dashboard certificates.
30/07/2024 14:50:57 ERROR: Error generating the certificates.
30/07/2024 14:50:57 DEBUG: Error executing command: openssl x509 -req -in /tmp/wazuh-certificates//ubuntu_focal_unattended-dashboard.csr -CA /tmp/wazuh-certificates//root-ca.pem -CAkey /tmp/wazuh-cert
ificates//root-ca.key -CAcreateserial -out /tmp/wazuh-certificates//ubuntu_focal_unattended-dashboard.pem -extfile /tmp/wazuh-certificates//ubuntu_focal_unattended-dashboard.conf -extensions v3_req -d
ays 3650
30/07/2024 14:50:57 DEBUG: Error output: error loading the config file '/tmp/wazuh-certificates//ubuntu_focal_unattended-dashboard.conf'
30/07/2024 14:50:57 DEBUG: Cleaning certificate files.
Loading