From 88f89fe16024d3a77eae5d001bf9fdd2d9d208d7 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 --- 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 0cba4653e7766f..41d863df2f9b81 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -894,7 +894,7 @@ changes: 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