Skip to content

Commit

Permalink
doc: fix 'dhparam' description of tls.createServer
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Feb 26, 2015
1 parent e435a01 commit 00c452f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,10 @@ automatically set as a listener for the [secureConnection][] event. The

Defaults to `prime256v1`. Consult [RFC 4492] for more details.

- `dhparam`: DH parameter file to use for DHE key agreement. Use
`openssl dhparam` command to create it. If the file is invalid to
load, it is silently discarded.
- `dhparam`: A string or `Buffer` containing Diffie Hellman parameters,
required for Perfect Forward Secrecy. Use `openssl dhparam` to create it.
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
finish in this many milliseconds. The default is 120 seconds.
Expand Down

0 comments on commit 00c452f

Please sign in to comment.