aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/man/nngcat.adoc20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/man/nngcat.adoc b/docs/man/nngcat.adoc
index 7c7acef6..49e4b05a 100644
--- a/docs/man/nngcat.adoc
+++ b/docs/man/nngcat.adoc
@@ -208,6 +208,26 @@ the data.
*--send-timeout*=_SEC_::
Give up trying to send a message after _SEC_ seconds.
+=== TLS Options
+
+These options are only present if TLS is configured; they are ignored
+when using addresses that are not secured with TLS.
+
+*-k, --insecure*::
+ Skip peer validation.
+
+*-E, --cert*=_FILE_::
+ Load own certificate from _FILE_.
+
+*--key*=_FILE_::
+ Load own key from _FILE_. Should be used in conjuction with *--cert*. If
+ not specified, and *--cert* is specified, then a single file containing both
+ the private key and the associated certificate is assumed.
+
+*--cacert*=_FILE_::
+ Load CA certificates from _FILE_. These CAs ("Certificate Authorities") are
+ used as trust roots when validating certificates presented by peers.
+
== EXAMPLES
.Echo service using request/reply.