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

--use-system-ca support for intermediate certificates on Windows #57163

Open
timja opened this issue Feb 21, 2025 · 2 comments · May be fixed by #57164
Open

--use-system-ca support for intermediate certificates on Windows #57163

timja opened this issue Feb 21, 2025 · 2 comments · May be fixed by #57164
Labels
feature request Issues that request new features to be added to Node.js.

Comments

@timja
Copy link
Contributor

timja commented Feb 21, 2025

What is the problem this feature will solve?

Third-party SaaS TLS proxies (e.g. ZScaler) will often be provided with an Intermediate CA certificate and not the organisation root CA certificate.

macOS supports Intermediate CA certificates and we should bring this to Windows as well.

See #56833 (comment)

What is the feature you are proposing to solve the problem?

I'm researching and looking for other implementations, so far I've verified locally that when I add:

  • Root CA certificate to Trusted Root Certification Authorities
  • Intermediate CA certificate to Intermediate Certification Authorities
    In the Certificates - Current Use store.

See Chromium source code: https://github.com/chromium/chromium/blob/98f89988c9774d0e138a0724aa64c46187203a77/net/cert/internal/trust_store_win.cc#L220-L222

Chrome works and I can access https://localhost:8443 from my test repository that was used for the macOS implementation: https://github.com/timja/openjdk-intermediate-ca-reproducer

What alternatives have you considered?

No response

@timja timja added the feature request Issues that request new features to be added to Node.js. label Feb 21, 2025
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Node.js feature requests Feb 21, 2025
@timja
Copy link
Contributor Author

timja commented Feb 21, 2025

FYI @joyeecheung

@timja timja linked a pull request Feb 21, 2025 that will close this issue
5 tasks
@timja
Copy link
Contributor Author

timja commented Feb 21, 2025

Raised #57164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issues that request new features to be added to Node.js.
Projects
Status: Awaiting Triage
Development

Successfully merging a pull request may close this issue.

1 participant