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

Skip certificate validation for CentOS 5 package generation #2891

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

MarcelKemp
Copy link
Member

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

@MarcelKemp MarcelKemp added the rpm label Mar 27, 2024
@MarcelKemp MarcelKemp requested review from vikman90 and rauldpm March 27, 2024 11:43
@MarcelKemp MarcelKemp self-assigned this Mar 27, 2024
@MarcelKemp MarcelKemp force-pushed the 2889-fix-ssl-verification branch from 3153fe6 to a2e3825 Compare March 27, 2024 14:14
@MarcelKemp MarcelKemp merged commit efc5d8a into 4.8.0 Mar 27, 2024
31 checks passed
@MarcelKemp MarcelKemp deleted the 2889-fix-ssl-verification branch March 27, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSL Certificate Verification Failure when Downloading wazuh-agent.spec
3 participants