macOS Keychain integration with Node's certificate handling is not working as expected.
The issue reports that --use-system-ca flag fails to recognize trusted certificates from macOS Keychain, resulting in SELF_SIGNED_CERT_IN_CHAIN errors. The problem requires understanding of both Node's TLS/SSL stack and macOS Keychain integration. The lack of maintainer response and macOS-specific nature adds complexity.
v25.5.0
Darwin macbookpro.res.hu.corp 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:40 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6000 arm64
No response
Always
With the --use-system-ca flag it should see it as a trusted certificate chain
Error code: SELF_SIGNED_CERT_IN_CHAIN
No response
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!