Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a post-install validation for Wazuh manager and Filebeat in the WIA #3059

Merged
merged 7 commits into from
Jul 30, 2024

Modify Wazuh manager test

ec127a0
Select commit
Loading
Failed to load commit list.
Merged

Add a post-install validation for Wazuh manager and Filebeat in the WIA #3059

Modify Wazuh manager test
ec127a0
Select commit
Loading
Failed to load commit list.
Wazuh CI / Distributed - Certificates succeeded Jul 29, 2024 in 1m 5s

Test_unattended_distributed

Below you have the stage output

Details

Certificate creation log



--------------------------------
29/07/2024 12:06:03 DEBUG: Checking root permissions.
29/07/2024 12:06:03 DEBUG: Checking sudo package.
29/07/2024 12:06:03 INFO: Starting Wazuh installation assistant. Wazuh version: 4.10.0
29/07/2024 12:06:03 INFO: Verbose logging redirected to /var/log/wazuh-install.log
29/07/2024 12:06:03 DEBUG: YUM package manager will be used.
29/07/2024 12:06:03 DEBUG: Checking system distribution.
29/07/2024 12:06:03 DEBUG: Detected distribution name: amzn
29/07/2024 12:06:03 DEBUG: Detected distribution version: 2
29/07/2024 12:06:03 DEBUG: Installing check dependencies.
29/07/2024 12:06:03 DEBUG: Checking Wazuh installation.
29/07/2024 12:06:03 DEBUG: Checking system architecture.
29/07/2024 12:06:03 INFO: Verifying that your system meets the recommended minimum hardware requirements.
29/07/2024 12:06:03 DEBUG: CPU cores detected: 2
29/07/2024 12:06:03 DEBUG: Free RAM memory detected: 1960
29/07/2024 12:06:03 DEBUG: Installing check dependencies.
29/07/2024 12:06:04 INFO: --- Configuration files ---
29/07/2024 12:06:04 INFO: Generating configuration files.
29/07/2024 12:06:04 DEBUG: Checking if OpenSSL is installed.
29/07/2024 12:06:04 DEBUG: Creating Wazuh certificates.
29/07/2024 12:06:04 DEBUG: Reading configuration file.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.32.136 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.40.83 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.46.192 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.44.27 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.47.78 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.46.116 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.40.203 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.38.151 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.32.223 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.36.123 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.32.136 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.40.83 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.46.192 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.44.27 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.47.78 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.46.116 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.40.203 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.38.151 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.32.223 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.36.123 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.32.136 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.40.83 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.46.192 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.44.27 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.47.78 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.46.116 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.40.203 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.38.151 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.32.223 is private.
29/07/2024 12:06:04 DEBUG: Checking if 172.31.36.123 is private.
29/07/2024 12:06:05 INFO: Generating the root certificate.
29/07/2024 12:06:05 INFO: Generating Admin certificates.
29/07/2024 12:06:05 DEBUG: Generating Admin private key.
29/07/2024 12:06:05 DEBUG: Converting Admin private key to PKCS8 format.
29/07/2024 12:06:05 DEBUG: Generating Admin CSR.
29/07/2024 12:06:05 DEBUG: Creating Admin certificate.
29/07/2024 12:06:05 INFO: Generating Wazuh indexer certificates.
29/07/2024 12:06:05 DEBUG: Creating the certificates for centos_7-indexer indexer node.
29/07/2024 12:06:05 DEBUG: Generating certificate configuration.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:05 DEBUG: Creating the certificates for centos_8-indexer indexer node.
29/07/2024 12:06:05 DEBUG: Generating certificate configuration.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:05 DEBUG: Creating the certificates for ubuntu_xenial-indexer indexer node.
29/07/2024 12:06:05 DEBUG: Generating certificate configuration.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:05 DEBUG: Creating the certificates for ubuntu_bionic-indexer indexer node.
29/07/2024 12:06:05 DEBUG: Generating certificate configuration.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:05 DEBUG: Creating the certificates for ubuntu_focal-indexer indexer node.
29/07/2024 12:06:05 DEBUG: Generating certificate configuration.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:05 DEBUG: Creating the certificates for ubuntu_jammy-indexer indexer node.
29/07/2024 12:06:05 DEBUG: Generating certificate configuration.
29/07/2024 12:06:05 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:06 DEBUG: Creating the certificates for amazonlinux_2_base-indexer indexer node.
29/07/2024 12:06:06 DEBUG: Generating certificate configuration.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:06 DEBUG: Creating the certificates for redhat_7-indexer indexer node.
29/07/2024 12:06:06 DEBUG: Generating certificate configuration.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:06 DEBUG: Creating the certificates for redhat_8-indexer indexer node.
29/07/2024 12:06:06 DEBUG: Generating certificate configuration.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:06 DEBUG: Creating the certificates for redhat_9-indexer indexer node.
29/07/2024 12:06:06 DEBUG: Generating certificate configuration.
29/07/2024 12:06:06 DEBUG: Creating the Wazuh indexer tmp key pair.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh indexer certificates.
29/07/2024 12:06:07 INFO: Generating Filebeat certificates.
29/07/2024 12:06:07 DEBUG: Generating the certificates for centos_7-wazuh server node.
29/07/2024 12:06:07 DEBUG: Generating certificate configuration.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:07 DEBUG: Generating the certificates for centos_8-wazuh server node.
29/07/2024 12:06:07 DEBUG: Generating certificate configuration.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:07 DEBUG: Generating the certificates for ubuntu_xenial-wazuh server node.
29/07/2024 12:06:07 DEBUG: Generating certificate configuration.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:07 DEBUG: Generating the certificates for ubuntu_bionic-wazuh server node.
29/07/2024 12:06:07 DEBUG: Generating certificate configuration.
29/07/2024 12:06:07 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:08 DEBUG: Generating the certificates for ubuntu_focal-wazuh server node.
29/07/2024 12:06:08 DEBUG: Generating certificate configuration.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:08 DEBUG: Generating the certificates for ubuntu_jammy-wazuh server node.
29/07/2024 12:06:08 DEBUG: Generating certificate configuration.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:08 DEBUG: Generating the certificates for amazonlinux_2_base-wazuh server node.
29/07/2024 12:06:08 DEBUG: Generating certificate configuration.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:08 DEBUG: Generating the certificates for redhat_7-wazuh server node.
29/07/2024 12:06:08 DEBUG: Generating certificate configuration.
29/07/2024 12:06:08 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:09 DEBUG: Generating the certificates for redhat_8-wazuh server node.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:09 DEBUG: Generating the certificates for redhat_9-wazuh server node.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh server tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh server certificates.
29/07/2024 12:06:09 INFO: Generating Wazuh dashboard certificates.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:09 DEBUG: Generating certificate configuration.
29/07/2024 12:06:09 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:10 DEBUG: Generating certificate configuration.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:10 DEBUG: Generating certificate configuration.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:10 DEBUG: Generating certificate configuration.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:10 DEBUG: Generating certificate configuration.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:10 DEBUG: Generating certificate configuration.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard tmp key pair.
29/07/2024 12:06:10 DEBUG: Creating the Wazuh dashboard certificates.
29/07/2024 12:06:10 DEBUG: Cleaning certificate files.
29/07/2024 12:06:10 DEBUG: Generating password file.
29/07/2024 12:06:10 DEBUG: Generating random passwords.
29/07/2024 12:06:11 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.