summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-11-07 13:13:09 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-11-07 13:13:09 +0000
commitc0a09fa0dca93ad873e0fae8cf9dd154c8508f11 (patch)
tree92d8d20b8befb770ddf6f766a25d5fd7769d8941
parent1f9af2cfbbb82918aa3e604b5b23e83ce6adc2f7 (diff)
Document the -servername option for openssl(1) s_client.
Based on a diff from Rusty (rustyl at outband dot net) and OpenSSL.
-rw-r--r--usr.bin/openssl/openssl.19
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/openssl/openssl.1 b/usr.bin/openssl/openssl.1
index 23f5fff8850..74dc59b11ed 100644
--- a/usr.bin/openssl/openssl.1
+++ b/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openssl.1,v 1.4 2014/10/01 13:15:40 sthen Exp $
+.\" $OpenBSD: openssl.1,v 1.5 2014/11/07 13:13:08 jsing Exp $
.\" ====================================================================
.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
.\"
@@ -112,7 +112,7 @@
.\"
.\" OPENSSL
.\"
-.Dd $Mdocdate: October 1 2014 $
+.Dd $Mdocdate: November 7 2014 $
.Dt OPENSSL 1
.Os
.Sh NAME
@@ -6617,6 +6617,7 @@ which it can be seen agrees with the recovered value above.
.Op Fl psk_identity Ar identity
.Op Fl quiet
.Op Fl reconnect
+.Op Fl servername Ar name
.Op Fl showcerts
.Op Fl ssl3
.Op Fl starttls Ar protocol
@@ -6773,6 +6774,10 @@ as well.
.It Fl reconnect
Reconnects to the same server 5 times using the same session ID; this can
be used as a test that session caching is working.
+.It Fl servername Ar name
+Include the TLS Server Name Indication (SNI) extension in the ClientHello
+message, using the specified server
+.Ar name .
.It Fl showcerts
Display the whole server certificate chain: normally only the server
certificate itself is displayed.