From 91089a2a60d2a74334fc67757fd23ee1f3ae56d5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 28 Feb 2018 17:33:35 -0800 Subject: 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. --- docs/man/nngcat.adoc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3-70-g09d2