aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-02-28 17:33:35 -0800
committerGarrett D'Amore <garrett@damore.org>2018-03-02 08:47:33 -0800
commit91089a2a60d2a74334fc67757fd23ee1f3ae56d5 (patch)
tree75abfed0b81ab63a1281c097fccee74d7857b6c9 /docs
parent04e5a756ba25f79036aa5e03e7412ed5e5539a12 (diff)
downloadnng-91089a2a60d2a74334fc67757fd23ee1f3ae56d5.tar.gz
nng-91089a2a60d2a74334fc67757fd23ee1f3ae56d5.tar.bz2
nng-91089a2a60d2a74334fc67757fd23ee1f3ae56d5.zip
fixes #247 nngcat needs TLS options
While here we also fixed a bug in the --file handling that we noticed while writing the TLS handling. We also fixed a warning in the core (msgqueue) for set but unused variables.
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.