Browse Source

doc: fix 'dhparam' description of tls.createServer

fixes #958

Fixes: https://github.com/iojs/io.js/issues/958
PR-URL: https://github.com/iojs/io.js/pull/968
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
v1.8.0-commit
silverwind 10 years ago
committed by Shigeki Ohtsu
parent
commit
c5050d8e4d
  1. 7
      doc/api/tls.markdown

7
doc/api/tls.markdown

@ -158,9 +158,10 @@ automatically set as a listener for the [secureConnection][] event. The
Defaults to `prime256v1`. Consult [RFC 4492] for more details. Defaults to `prime256v1`. Consult [RFC 4492] for more details.
- `dhparam`: DH parameter file to use for DHE key agreement. Use - `dhparam`: A string or `Buffer` containing Diffie Hellman parameters,
`openssl dhparam` command to create it. If the file is invalid to required for Perfect Forward Secrecy. Use `openssl dhparam` to create it.
load, it is silently discarded. If omitted or invalid, it is silently discarded and DHE ciphers won't be
available.
- `handshakeTimeout`: Abort the connection if the SSL/TLS handshake does not - `handshakeTimeout`: Abort the connection if the SSL/TLS handshake does not
finish in this many milliseconds. The default is 120 seconds. finish in this many milliseconds. The default is 120 seconds.

Loading…
Cancel
Save