Closed wassimans closed 3 weeks ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard. Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Description
This PR addresses an issue with the SSL certificate verification logic in the node. Previously, the node validated the SSL certificate for a host domain by comparing it only to the last entry in the list of subjectAltName entries within the certificate. This approach neglected other domain entries and did not consider wildcard domains.
The fix introduces enhanced matching logic that:
Compares the host name against the entire list (if present) of subjectAltNames within the certificate.
Supports wildcard matching for more flexible and complete SSL verification.
This improvement ensures that requests to certified subdomains and wildcard domains are handled correctly according to the SSL certificate’s full set of authorized domains.
Fixes #1553
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
The solution has been tested by implementing and verifying the following test cases:
Checklist: