If you have to deal with HTTPS within a corporate environment or otherwise have to deal with locally installed CA certificates somehow, give —use-system-ca a try! It’s currently only added in Windows and macOS, support for other systems is WIP though —use-openssl-ca already works for other systems
Reposted from
Michael Zasso
Just released Node.js v23.8.0.
It includes an initial implementation of URLPattern, an new flag to load system certificates, zstd, and more!
nodejs.org/en/blog/rele...
It includes an initial implementation of URLPattern, an new flag to load system certificates, zstd, and more!
nodejs.org/en/blog/rele...
Comments
- On macOS and Windows, --use-system-ca uses the system APIs to load trusted certificates and verify usage for TLS
- --use-openssl-ca uses OpenSSL default paths, which may not work on macOS and Windows, though works with most Linux distros
https://deno.com/blog/v1.13#use-system-certificate-store-for-tls