Skip to content

Commit 88f89fe

Browse files
committed
doc: describe SNI host name format
Ref: nodejs#23329
1 parent 0ea804a commit 88f89fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/tls.md

Lines changed: 1 addition & 1 deletion
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)