mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: harmonize description of ca argument
Different sections said different things about what the `ca` argument should look like. This commit harmonizes them. Ref: https://github.com/nodejs/node/pull/4099 PR-URL: https://github.com/nodejs/node/pull/4213 Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
1 parent
9a0f156e5a
commit
5140c404ae
2 files changed
+12
-10
No files matched your search
@@ -164,8 +164,9 @@ The following options from [`tls.connect()`][] can also be specified. However, a
|
||||
- `key`: Private key to use for SSL. Default `null`.
|
||||
- `passphrase`: A string of passphrase for the private key or pfx. Default `null`.
|
||||
- `cert`: Public x509 certificate to use. Default `null`.
|
||||
- `ca`: An authority certificate or array of authority certificates to check
|
||||
the remote host against.
|
||||
- `ca`: A string, `Buffer` or array of strings or `Buffer`s of trusted
|
||||
certificates in PEM format. If this is omitted several well known "root"
|
||||
CAs will be used, like VeriSign. These are used to authorize connections.
|
||||
- `ciphers`: A string describing the ciphers to use or exclude. Consult
|
||||
<http://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT> for
|
||||
details on the format.
|
||||
|
||||
Reference in new issue
Block a user