From: Nathan Rajlich Date: Mon, 16 Sep 2013 20:57:00 +0000 (-0700) Subject: doc: specify the format of the `ca` tls option X-Git-Tag: v0.10.19~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afabdf0e1595c2f3f8d4a634218bb7d89190d027;p=platform%2Fupstream%2Fnodejs.git doc: specify the format of the `ca` tls option --- diff --git a/doc/api/tls.markdown b/doc/api/tls.markdown index 94e6053..45d3841 100644 --- a/doc/api/tls.markdown +++ b/doc/api/tls.markdown @@ -104,9 +104,9 @@ automatically set as a listener for the [secureConnection][] event. The - `cert`: A string or `Buffer` containing the certificate key of the server in PEM format. (Required) - - `ca`: An array of strings or `Buffer`s of trusted certificates. If this is - omitted several well known "root" CAs will be used, like VeriSign. - These are used to authorize connections. + - `ca`: An 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. - `crl` : Either a string or list of strings of PEM encoded CRLs (Certificate Revocation List) @@ -262,9 +262,9 @@ Creates a new client connection to the given `port` and `host` (old API) or - `cert`: A string or `Buffer` containing the certificate key of the client in PEM format. - - `ca`: An array of strings or `Buffer`s of trusted certificates. If this is - omitted several well known "root" CAs will be used, like VeriSign. - These are used to authorize connections. + - `ca`: An 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. - `rejectUnauthorized`: If `true`, the server certificate is verified against the list of supplied CAs. An `'error'` event is emitted if verification