mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: correct tls.rootCertificates to match implementation
Update tls.rootCertificates documentation to clarify that it returns the bundled Node.js root certificates rather than the root certificates used by tls.createSecureContext. Fixes: https://github.com/nodejs/node/issues/32074 Refs: https://github.com/nodejs/node/issues/32229 PR-URL: https://github.com/nodejs/node/pull/33313 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
e1050344f8
commit
281d7f74d8
1 file changed
+4
-2
+4
-2
@@ -1776,8 +1776,10 @@ added: v12.3.0
|
||||
* {string[]}
|
||||
|
||||
An immutable array of strings representing the root certificates (in PEM format)
|
||||
used for verifying peer certificates. This is the default value of the `ca`
|
||||
option to [`tls.createSecureContext()`][].
|
||||
from the bundled Mozilla CA store as supplied by current Node.js version.
|
||||
|
||||
The bundled CA store, as supplied by Node.js, is a snapshot of Mozilla CA store
|
||||
that is fixed at release time. It is identical on all supported platforms.
|
||||
|
||||
## `tls.DEFAULT_ECDH_CURVE`
|
||||
<!-- YAML
|
||||
|
||||
Reference in new issue
Block a user