Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixed sentence as per silverwind's suggestion
  • Loading branch information
thefourtheye committed Oct 25, 2015
commit 733146de6a736a6a66edb6d78fec0a76d1f8ea50
14 changes: 6 additions & 8 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,9 @@ automatically set as a listener for the [secureConnection][] event. The
the `key`, `cert` and `ca` options.)

- `key`: A string or `Buffer` containing the private key of the server in
PEM format. It can also be an array of keys. The array can either be of
just keys or if you have different passphrases for the keys, then the
array elements can be of the form `{pem: key, passphrase: passphrase}` and
the keys should use different algorithms. (Required)
PEM format. To support multiple keys using different algorithms, an array
can be provided. It can either be a plain array of keys, or an array of
objects in the form of `{pem: key, passphrase: passphrase}`. (Required)

- `passphrase`: A string of passphrase for the private key or pfx.

Expand Down Expand Up @@ -490,10 +489,9 @@ dictionary with keys:
* `pfx` : A string or buffer holding the PFX or PKCS12 encoded private
key, certificate and CA certificates
* `key`: A string or `Buffer` containing the private key of the server in
PEM format. It can also be an array of keys. The array can either be of
just keys or if you have different passphrases for the keys, then the
array elements can be of the form `{pem: key, passphrase: passphrase}` and
the keys should use different algorithms. (Required)
PEM format. To support multiple keys using different algorithms, an array
can be provided. It can either be a plain array of keys, or an array of
objects in the form of `{pem: key, passphrase: passphrase}`. (Required)
* `passphrase` : A string of passphrase for the private key or pfx
* `cert` : A string holding the PEM encoded certificate
* `ca` : Either a string or list of strings of PEM encoded CA
Expand Down