diff options
author | Swaagie <info@martijnswaagman.nl> | 2014-10-15 11:08:33 +0200 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-10-15 13:19:54 +0400 |
commit | 6a95e9f7e01b06e5318ef01b0be7bbc00ef43a3d (patch) | |
tree | 53aa435859fd70243ed5812dedb45bddb547c9aa | |
parent | 1524d483336e1fba1c62693f65e79c2f251cd36a (diff) | |
download | node-6a95e9f7e01b06e5318ef01b0be7bbc00ef43a3d.tar.gz |
tls add secureOptions documentation
PR-URL: https://github.com/joyent/node/pull/8553
Reviewed-By: Fedor Indutny <fedor@indutny.com>
-rw-r--r-- | doc/api/tls.markdown | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index f834a8374..68e7a099a 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -171,6 +171,10 @@ automatically set as a listener for the [secureConnection][] event. The SSL version 3. The possible values depend on your installation of OpenSSL and are defined in the constant [SSL_METHODS][]. + - `secureOptions`: Set server options. For example, to disable the SSLv3 + protocol set the `SSL_OP_NO_SSLv3` flag. See [SSL_CTX_set_options] + for all available options. + Here is a simple example echo server: var tls = require('tls'); @@ -569,3 +573,4 @@ The numeric representation of the remote port. For example, `443`. [Stream]: stream.html#stream_stream [SSL_METHODS]: http://www.openssl.org/docs/ssl/ssl.html#DEALING_WITH_PROTOCOL_METHODS [tls.Server]: #tls_class_tls_server +[SSL_CTX_set_options]: https://www.openssl.org/docs/ssl/SSL_CTX_set_options.html
\ No newline at end of file |