diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocols.texi | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index e53d6a4..5022cbe 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -883,14 +883,18 @@ the host name is validated as well.) This is disabled by default since it requires a CA database to be provided by the caller in many cases. -@item listen -Act as a server, listening for an incoming connection. - -@item cert=@var{filename} -Certificate file. The file must be in OpenSSL PEM format. - -@item key=@var{filename} -Private key file. +@item cert_file, cert=@var{filename} +A file containing a certificate to use in the handshake with the peer. +(When operating as server, in listen mode, this is more often required +by the peer, while client certificates only are mandated in certain +setups.) + +@item key_file, key=@var{filename} +A file containing the private key for the certificate. + +@item listen=@var{1|0} +If enabled, listen for connections on the provided port, and assume +the server role in the handshake instead of the client role. @end table |