wazuh / wazuh-packages

Wazuh - Tools for packages creation
https://wazuh.com
GNU General Public License v2.0
104 stars 94 forks source link

Removed debug variable in Admin certificate generation #2821

Closed davidcr01 closed 7 months ago

davidcr01 commented 7 months ago
Related issue
https://github.com/wazuh/wazuh-packages/issues/2815

Description

The aim of this PR is to remove a debug variable added in the Admin certificate generation. This generated the ++--++ output which was silenced in: https://github.com/wazuh/wazuh-packages/issues/2787.

Before:

07/02/2024 13:18:27 INFO: Generating Admin certificates.
Generating RSA private key, 2048 bit long modulus
..................+++
..+++

After:

09/02/2024 11:07:17 INFO: Generating Admin certificates.
09/02/2024 11:07:17 INFO: Generating Wazuh indexer certificates.

Complete log:

[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]#