atharvalade opened a new pull request, #2913:
URL: https://github.com/apache/iggy/pull/2913

   ## Which issue does this PR close?
   
   Closes #2912
   
   ## Rationale
   
   The server certificate SAN is `DNS:localhost`. Disabling hostname 
verification (`checkServerIdentity: () => undefined`) bypasses a real security 
check. Python and C# TLS tests already connect via `localhost` for proper 
verification.
   
   ## What changed?
   
   The Node TLS e2e test connected to `127.0.0.1` and disabled hostname 
verification to avoid a cert mismatch. Replaced with `host: 'localhost'` so the 
TLS handshake validates the certificate properly, consistent with other SDKs.
   
   ## Local Execution
   
   - Passed
   - Pre-commit hooks ran
   
   ## AI Usage
   
   - Opus 4.6
   - Identify
   - Reviewed
   - Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to