wazuh / wazuh-packages

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

Skip certificate validation for CentOS 5 package generation #2891

Closed MarcelKemp closed 8 months ago

MarcelKemp commented 8 months ago
Related issue
#2889

Description

This PR fixes the certificate validation problem for the CentOS 5 case, because the certificates for this OS are no longer valid.

To avoid this problem, we have simply skipped the certificate verification for the failed case. This way it no longer fails and can continue with the generation of the package.

The problem has only been seen on the i386 architecture, so it has only been tested for this. However, this can also happen on x86_64, so we can also generate an image with this change to avoid future problems.

Tests