Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: correct tls docs. server -> client
Browse files Browse the repository at this point in the history
when a pfx file is passed to tls.connection,
it is the client private key, not the server's private key.
  • Loading branch information
dominictarr authored and indutny committed Apr 2, 2014
1 parent 47bed48 commit cdc093b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/tls.markdown
Expand Up @@ -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.
Expand Down

0 comments on commit cdc093b

Please sign in to comment.