Browse Source

docs: correct tls docs. server -> client

when a pfx file is passed to tls.connection,
it is the client private key, not the server's private key.
v0.10.27-release
Dominic Tarr 11 years ago
committed by Fedor Indutny
parent
commit
cdc093b31f
  1. 2
      doc/api/tls.markdown

2
doc/api/tls.markdown

@ -252,7 +252,7 @@ Creates a new client connection to the given `port` and `host` (old API) or
are ignored.
- `pfx`: A string or `Buffer` containing the private key, certificate and
CA certs of the server in PFX or PKCS12 format.
CA certs of the client in PFX or PKCS12 format.
- `key`: A string or `Buffer` containing the private key of the client in
PEM format.

Loading…
Cancel
Save