@@ -546,9 +546,9 @@ Creates a new client connection to the given `port` and `host` (old API) or
546546 - `cert`: A string or `Buffer` containing the certificate key of the client in
547547 PEM format. (Could be an array of certs).
548548
549- - `ca`: An array of strings or `Buffer`s of trusted certificates in PEM
550- format. If this is omitted several well known "root" CAs will be used,
551- like VeriSign. These are used to authorize connections.
549+ - `ca`: A string, `Buffer` or array of strings or `Buffer`s of trusted
550+ certificates in PEM format. If this is omitted several well known "root"
551+ CAs will be used, like VeriSign. These are used to authorize connections.
552552
553553 - `ciphers`: A string describing the ciphers to use or exclude, separated by
554554 `:`. Uses the same default cipher suite as `tls.createServer`.
@@ -643,8 +643,9 @@ dictionary with keys:
643643 objects in the format `{pem: key, passphrase: passphrase}`. (Required)
644644* `passphrase` : A string of passphrase for the private key or pfx
645645* `cert` : A string holding the PEM encoded certificate
646- * `ca` : Either a string or list of strings of PEM encoded CA
647- certificates to trust.
646+ * `ca`: A string, `Buffer` or array of strings or `Buffer`s of trusted
647+ certificates in PEM format. If this is omitted several well known "root"
648+ CAs will be used, like VeriSign. These are used to authorize connections.
648649* `crl` : Either a string or list of strings of PEM encoded CRLs
649650 (Certificate Revocation List)
650651* `ciphers`: A string describing the ciphers to use or exclude.
@@ -704,9 +705,9 @@ automatically set as a listener for the [`'secureConnection'`][] event. The
704705 - `cert`: A string or `Buffer` containing the certificate key of the server in
705706 PEM format. (Could be an array of certs). (Required)
706707
707- - `ca`: An array of strings or `Buffer`s of trusted certificates in PEM
708- format. If this is omitted several well known "root" CAs will be used,
709- like VeriSign. These are used to authorize connections.
708+ - `ca`: A string, `Buffer` or array of strings or `Buffer`s of trusted
709+ certificates in PEM format. If this is omitted several well known "root"
710+ CAs will be used, like VeriSign. These are used to authorize connections.
710711
711712 - `crl` : Either a string or list of strings of PEM encoded CRLs (Certificate
712713 Revocation List)
0 commit comments