Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 6a95e9f

Browse files
Swaagieindutny
Swaagie
authored andcommitted
tls add secureOptions documentation
PR-URL: #8553 Reviewed-By: Fedor Indutny <[email protected]>
1 parent 1524d48 commit 6a95e9f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api/tls.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ automatically set as a listener for the [secureConnection][] event. The
171171
SSL version 3. The possible values depend on your installation of
172172
OpenSSL and are defined in the constant [SSL_METHODS][].
173173

174+
- `secureOptions`: Set server options. For example, to disable the SSLv3
175+
protocol set the `SSL_OP_NO_SSLv3` flag. See [SSL_CTX_set_options]
176+
for all available options.
177+
174178
Here is a simple example echo server:
175179

176180
var tls = require('tls');
@@ -569,3 +573,4 @@ The numeric representation of the remote port. For example, `443`.
569573
[Stream]: stream.html#stream_stream
570574
[SSL_METHODS]: http://www.openssl.org/docs/ssl/ssl.html#DEALING_WITH_PROTOCOL_METHODS
571575
[tls.Server]: #tls_class_tls_server
576+
[SSL_CTX_set_options]: https://www.openssl.org/docs/ssl/SSL_CTX_set_options.html

0 commit comments

Comments
 (0)