From 1032db1f3ee72be2f4acc27f9092ae4934881008 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. --- 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 209f8bf05a5235..2a3debd1b9661e 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`