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 <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>
This commit is contained in:
parent
4d16d1ed34
commit
846cc7e498
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user