Skip to content

Commit 7d07e16

Browse files
sam-githubjasnell
authored andcommitted
doc: describe SNI host name format
Ref: #23329 PR-URL: #23357 Refs: #23329 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e082863 commit 7d07e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ changes:
894894
protocol name. Passing an array is usually much simpler, e.g.
895895
`['hello', 'world']`.
896896
* `servername`: {string} Server name for the SNI (Server Name Indication) TLS
897-
extension.
897+
extension. It must be a host name, and not an IP address.
898898
* `checkServerIdentity(servername, cert)` {Function} A callback function
899899
to be used (instead of the builtin `tls.checkServerIdentity()` function)
900900
when checking the server's hostname (or the provided `servername` when

0 commit comments

Comments
 (0)