node/doc/api
Tobias Nießen 2660a321e1
tls: support automatic DHE
Node.js has so far only supported user-defined DHE parameters and even
recommended generating custom parameters. This change lets users set the
dhparam option to 'auto' instead, in which case DHE parameters of
sufficient strength are selected automatically (from a small set of
well-known parameters). This has been recommended by OpenSSL for quite a
while, and it makes it much easier for Node.js TLS servers to properly
support DHE-based perfect forward secrecy.

This also updates the documentation to prioritize ECDHE over DHE, mostly
because the former tends to be more efficient and is enabled by default.

PR-URL: https://github.com/nodejs/node/pull/46978
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2023-03-12 18:35:55 +00:00
..
addons.md doc: use "file system" instead of "filesystem" 2023-01-14 01:10:38 +00:00
assert.md assert,util: revert recursive breaking change 2023-02-20 15:47:08 +01:00
async_context.md 2023-02-21, Version 19.7.0 (Current) 2023-02-21 13:12:58 -05:00
async_hooks.md doc: fix fs missing import 2023-03-03 23:46:12 +00:00
buffer.md 2023-03-07, Version 18.15.0 'Hydrogen' (LTS) 2023-03-07 14:52:01 -05:00
child_process.md doc: abort controller emits error in child process 2023-01-07 08:01:47 +00:00
cli.md test_runner: mark module as stable 2023-03-08 18:16:37 -05:00
cluster.md doc: use os.availableParallelism() in async_context and cluster 2022-12-28 11:45:10 +00:00
console.md doc: use serial comma in console docs 2022-05-31 14:57:50 +01:00
corepack.md doc: mention corepack prepare supports tag or range 2022-10-10 02:47:39 +02:00
crypto.md doc: remove useless SSL_OP_* options 2023-03-06 21:18:44 +00:00
debugger.md doc: add document for profiling and heap snapshot 2023-02-23 16:30:34 +01:00
deprecations.md events: add listener argument to listenerCount 2023-02-21 10:38:51 +00:00
dgram.md 2022-12-13, Version 16.19.0 'Gallium' (LTS) 2022-12-13 08:01:09 -05:00
diagnostics_channel.md doc: fix history information for node:diagnostics_channel 2023-03-08 08:47:10 +00:00
dns.md doc: update to match changed --dns-result-order default 2023-01-17 00:56:07 +01:00
documentation.md doc: add experimental stages 2023-01-14 14:25:08 +00:00
domain.md doc: add node: prefix for all core modules 2022-04-20 10:23:41 +02:00
embedding.md src: add detailed embedder process initialization API 2022-08-05 19:46:08 +00:00
errors.md src,process: add permission model 2023-02-23 18:11:51 +00:00
esm.md doc: fix typo on esm loaders example 2023-03-10 17:09:54 +00:00
events.md events: add listener argument to listenerCount 2023-02-21 10:38:51 +00:00
fs.md 2023-03-07, Version 18.15.0 'Hydrogen' (LTS) 2023-03-07 14:52:01 -05:00
globals.md doc: add history section to fetch-related globals 2022-10-29 12:49:52 +00:00
http2.md doc: fix port of destination server is not defined in http2 2023-03-06 00:29:27 +00:00
http.md 2023-03-07, Version 18.15.0 'Hydrogen' (LTS) 2023-03-07 14:52:01 -05:00
https.md doc: https update default request timeout 2023-01-13 08:32:19 +00:00
index.md src: add initial support for single executable applications 2023-02-18 02:49:18 +00:00
inspector.md doc: add tip for session.post function 2023-01-29 03:32:23 +00:00
intl.md doc: fix icu-small example 2022-06-30 09:34:10 -04:00
module.md lib: codify findSourceMap return value when not found 2022-08-27 23:13:53 +00:00
modules.md doc: use "file system" instead of "filesystem" 2023-01-14 01:10:38 +00:00
n-api.md doc: add Node-API media link 2023-01-15 21:08:45 +00:00
net.md net: fix setting of value in 'setDefaultAutoSelectFamilyAttemptTimeout' 2023-03-10 15:07:55 +00:00
os.md 2023-02-02, Version 18.14.0 'Hydrogen' (LTS) 2023-02-02 14:08:50 -05:00
packages.md doc: fix typos in packages.md 2022-12-24 21:04:19 +01:00
path.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00
perf_hooks.md doc: add PerformanceObserver.supportedEntryTypes to doc 2023-01-11 19:58:41 +00:00
permissions.md src,process: add permission model 2023-02-23 18:11:51 +00:00
policy.md doc: move policy docs to the permissions scope 2022-09-05 16:07:45 +00:00
process.md 2023-03-07, Version 18.15.0 'Hydrogen' (LTS) 2023-03-07 14:52:01 -05:00
punycode.md doc: format doc/api/*.md with markdown formatter 2021-10-20 11:59:11 +02:00
querystring.md doc: remove Legacy status from querystring 2022-10-09 15:22:50 +00:00
readline.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00
repl.md doc: update error message of example in repl 2022-12-24 20:09:54 +00:00
report.md doc: use "file system" instead of "filesystem" 2023-01-14 01:10:38 +00:00
single-executable-applications.md doc,test: extend the list of platforms supported by single-executables 2023-03-11 08:58:52 +00:00
stream.md doc: fix stream iterator helpers examples 2023-03-01 17:13:29 +00:00
string_decoder.md doc: add node: prefix for all core modules 2022-04-20 10:23:41 +02:00
synopsis.md doc: use ASCII apostrophes consistently 2022-05-17 20:04:51 +01:00
test.md test_runner: mark module as stable 2023-03-08 18:16:37 -05:00
timers.md doc: use console.error for error case in timers and tls 2023-01-01 06:41:28 +00:00
tls.md tls: support automatic DHE 2023-03-12 18:35:55 +00:00
tracing.md src: trace threadpool event 2022-11-01 04:21:13 +00:00
tty.md doc: add node: prefix for all core modules 2022-04-20 10:23:41 +02:00
url.md doc: fix myUrl is not defined in url 2023-03-08 07:34:55 +00:00
util.md 2023-02-21, Version 19.7.0 (Current) 2023-02-21 13:12:58 -05:00
v8.md 2023-03-07, Version 18.15.0 'Hydrogen' (LTS) 2023-03-07 14:52:01 -05:00
vm.md 2023-03-07, Version 18.15.0 'Hydrogen' (LTS) 2023-03-07 14:52:01 -05:00
wasi.md wasi: add support for version when creating WASI 2023-02-22 09:46:46 -05:00
webcrypto.md crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
webstreams.md doc: remove unused functions from example of streamConsumers.text 2023-02-13 03:46:03 +00:00
worker_threads.md worker: add support for worker name in inspector and trace_events 2023-03-06 16:34:09 +00:00
zlib.md doc: add lint rule to enforce trailing commas 2022-11-17 13:19:12 +00:00