diff options
author | beck <> | 2017-04-05 03:20:19 +0000 |
---|---|---|
committer | beck <> | 2017-04-05 03:20:19 +0000 |
commit | 83f309bbf0134f1cf9d001a778a3ddd8c0556bc2 (patch) | |
tree | 299fe68381ddcde7d5e4ff06e1d3436e96654278 /src/usr.bin/nc/nc.1 | |
parent | 2ffca9ef617ca25d3718111a126dbb0d580dd018 (diff) | |
download | openbsd-83f309bbf0134f1cf9d001a778a3ddd8c0556bc2.tar.gz openbsd-83f309bbf0134f1cf9d001a778a3ddd8c0556bc2.tar.bz2 openbsd-83f309bbf0134f1cf9d001a778a3ddd8c0556bc2.zip |
Allow nc to save the peer certificate and chain in a pem file specified
with -Z
ok jsing@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index b1f96488ab..0f1263da7c 100644 --- a/src/usr.bin/nc/nc.1 +++ b/src/usr.bin/nc/nc.1 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: nc.1,v 1.82 2017/02/09 20:15:59 jca Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.83 2017/04/05 03:20:19 beck Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -25,7 +25,7 @@ | |||
25 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | .\" | 27 | .\" |
28 | .Dd $Mdocdate: February 9 2017 $ | 28 | .Dd $Mdocdate: April 5 2017 $ |
29 | .Dt NC 1 | 29 | .Dt NC 1 |
30 | .Os | 30 | .Os |
31 | .Sh NAME | 31 | .Sh NAME |
@@ -53,6 +53,7 @@ | |||
53 | .Op Fl w Ar timeout | 53 | .Op Fl w Ar timeout |
54 | .Op Fl X Ar proxy_protocol | 54 | .Op Fl X Ar proxy_protocol |
55 | .Op Fl x Ar proxy_address Ns Op : Ns Ar port | 55 | .Op Fl x Ar proxy_address Ns Op : Ns Ar port |
56 | .Op Fl Z Ar peercertfile | ||
56 | .Op Ar destination | 57 | .Op Ar destination |
57 | .Op Ar port | 58 | .Op Ar port |
58 | .Sh DESCRIPTION | 59 | .Sh DESCRIPTION |
@@ -337,6 +338,10 @@ should just scan for listening daemons, without sending any data to them. | |||
337 | It is an error to use this option in conjunction with the | 338 | It is an error to use this option in conjunction with the |
338 | .Fl l | 339 | .Fl l |
339 | option. | 340 | option. |
341 | .It Fl Z Ar peercertfile | ||
342 | Specifies the filename in which the peer supplied certificates will be saved | ||
343 | in PEM format. | ||
344 | May only be used with TLS. | ||
340 | .El | 345 | .El |
341 | .Pp | 346 | .Pp |
342 | .Ar destination | 347 | .Ar destination |