From 2b8fb770dff67d68abcf119dd09a363165561210 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Tue, 9 Oct 2018 15:36:03 -0700 Subject: [PATCH] doc: describe SNI host name format Ref: https://github.com/nodejs/node/pull/23329 PR-URL: https://github.com/nodejs/node/pull/23357 Refs: https://github.com/nodejs/node/pull/23329 Reviewed-By: Richard Lau Reviewed-By: Vse Mozhet Byt Reviewed-By: Sakthipriyan Vairamani Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/tls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index fe8bfa27ef6ca2..1f2b8906b5f4b2 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -891,7 +891,7 @@ changes: first byte is the length of the next protocol name. Passing an array is usually much simpler, e.g. `['hello', 'world']`. * `servername`: {string} Server name for the SNI (Server Name Indication) TLS - extension. + extension. It must be a host name, and not an IP address. * `checkServerIdentity(servername, cert)` {Function} A callback function to be used (instead of the builtin `tls.checkServerIdentity()` function) when checking the server's hostname (or the provided `servername` when