File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,10 +180,6 @@ automatically set as a listener for the [secureConnection][] event. The
180
180
which is not authorized with the list of supplied CAs. This option only
181
181
has an effect if ` requestCert ` is ` true ` . Default: ` false ` .
182
182
183
- - ` checkServerIdentity(servername, cert) ` : Provide an override for checking
184
- server's hostname against the certificate. Should return an error if verification
185
- fails. Return ` undefined ` if passing.
186
-
187
183
- ` NPNProtocols ` : An array or ` Buffer ` of possible NPN protocols. (Protocols
188
184
should be ordered by their priority).
189
185
@@ -316,6 +312,10 @@ Creates a new client connection to the given `port` and `host` (old API) or
316
312
317
313
- ` servername ` : Servername for SNI (Server Name Indication) TLS extension.
318
314
315
+ - ` checkServerIdentity(servername, cert) ` : Provide an override for checking
316
+ server's hostname against the certificate. Should return an error if verification
317
+ fails. Return ` undefined ` if passing.
318
+
319
319
- ` secureProtocol ` : The SSL method to use, e.g. ` SSLv3_method ` to force
320
320
SSL version 3. The possible values depend on your installation of
321
321
OpenSSL and are defined in the constant [ SSL_METHODS] [ ] .
You can’t perform that action at this time.
0 commit comments