Closed davidcr01 closed 5 months ago
The debug
variable has been removed and the output is not displayed anymore:
[root@al2 vagrant]# bash wazuh-install.sh -g
09/02/2024 11:07:12 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
09/02/2024 11:07:12 INFO: Verbose logging redirected to /var/log/wazuh-install.log
09/02/2024 11:07:16 INFO: Verifying that your system meets the recommended minimum hardware requirements.
09/02/2024 11:07:16 INFO: --- Configuration files ---
09/02/2024 11:07:16 INFO: Generating configuration files.
09/02/2024 11:07:17 INFO: Generating the root certificate.
09/02/2024 11:07:17 INFO: Generating Admin certificates.
09/02/2024 11:07:17 INFO: Generating Wazuh indexer certificates.
09/02/2024 11:07:17 INFO: Generating Filebeat certificates.
09/02/2024 11:07:17 INFO: Generating Wazuh dashboard certificates.
09/02/2024 11:07:17 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
[root@al2 vagrant]# cat /var/log/wazuh-install.log
09/02/2024 11:07:12 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
09/02/2024 11:07:12 INFO: Verbose logging redirected to /var/log/wazuh-install.log
09/02/2024 11:07:16 INFO: Verifying that your system meets the recommended minimum hardware requirements.
09/02/2024 11:07:16 INFO: --- Configuration files ---
09/02/2024 11:07:16 INFO: Generating configuration files.
09/02/2024 11:07:17 INFO: Generating the root certificate.
09/02/2024 11:07:17 INFO: Generating Admin certificates.
09/02/2024 11:07:17 INFO: Generating Wazuh indexer certificates.
09/02/2024 11:07:17 INFO: Generating Filebeat certificates.
09/02/2024 11:07:17 INFO: Generating Wazuh dashboard certificates.
09/02/2024 11:07:17 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
[root@al2 vagrant]#
Description
Related: https://github.com/wazuh/wazuh/issues/21799 Related: https://github.com/wazuh/wazuh-packages/issues/2787
It has been found that the WIA stills generates the
++-++
output when generating the Admin certificates:It seems that a
debug
variable was not removed from the following function, which is generating the mentioned output: