From 43273262e5f07a80cecf2cef6ac89ca1719821fb Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Thu, 15 Nov 2018 15:51:55 -0800 Subject: [PATCH] doc: describe secureProtocol and CLI interaction Cross-reference the secureProtocol docs and the CLI docs for --tls-v1.0 and --tls-v1.1 and describe relationship. Make clear that --tls-v1.0 enables TLSv1.0 and TLSv1.1. PR-URL: https://github.com/nodejs/node/pull/24386 Reviewed-By: Vse Mozhet Byt Reviewed-By: Daniel Bevenius Reviewed-By: Ujjwal Sharma --- doc/api/cli.md | 9 +++++---- doc/api/tls.md | 13 +++++++++---- doc/node.1 | 8 ++++---- src/node_options.cc | 4 ++-- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 209f8bf05a5..2a3debd1b96 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -347,16 +347,16 @@ with crypto support (default). added: REPLACEME --> -Enable TLSv1.0. This should only be used for compatibility with old TLS -clients or servers. +Enable TLSv1.0 and greater in default [secureProtocol][]. Use for compatibility +with old TLS clients or servers. ### `--tls-v1.1` -Enable TLSv1.1. This should only be used for compatibility with old TLS -clients or servers. +Enable TLSv1.1 and greater in default [secureProtocol][]. Use for compatibility +with old TLS clients or servers. ### `--trace-deprecation`