summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2004-04-19 12:25:41 +0000
committerjmc <>2004-04-19 12:25:41 +0000
commit49a9312f22484a507e4ebb22377b56024c60caf1 (patch)
tree086b6a3462f55279dba91943944d96da75b21515
parent451c4303bb1929559496ac1bd9e04a63d4671833 (diff)
downloadopenbsd-49a9312f22484a507e4ebb22377b56024c60caf1.tar.gz
openbsd-49a9312f22484a507e4ebb22377b56024c60caf1.tar.bz2
openbsd-49a9312f22484a507e4ebb22377b56024c60caf1.zip
options sort and update for sess_id;
-rw-r--r--src/usr.sbin/openssl/openssl.189
1 files changed, 45 insertions, 44 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 1b3703e206..dae9664448 100644
--- a/src/usr.sbin/openssl/openssl.1
+++ b/src/usr.sbin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.41 2004/04/12 22:14:30 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.42 2004/04/19 12:25:41 jmc Exp $
2.\" ==================================================================== 2.\" ====================================================================
3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved. 3.\" Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
4.\" 4.\"
@@ -110,7 +110,7 @@
110.\" copied and put under another distribution licence 110.\" copied and put under another distribution licence
111.\" [including the GNU Public Licence.] 111.\" [including the GNU Public Licence.]
112.\" 112.\"
113.\" ssl(1) 113.\" OPENSSL
114.\" 114.\"
115.Dd February 28, 2003 115.Dd February 28, 2003
116.Dt OPENSSL 1 116.Dt OPENSSL 1
@@ -6139,14 +6139,14 @@ option should really exit if the server verification fails.
6139.Sh SESS_ID 6139.Sh SESS_ID
6140.Nm openssl sess_id 6140.Nm openssl sess_id
6141.Bk -words 6141.Bk -words
6142.Op Fl inform Ar DER | PEM
6143.Op Fl outform Ar DER | PEM
6144.Op Fl in Ar file
6145.Op Fl out Ar file
6146.Op Fl text
6147.Op Fl cert 6142.Op Fl cert
6148.Op Fl noout 6143.Op Fl noout
6144.Op Fl text
6149.Op Fl context Ar ID 6145.Op Fl context Ar ID
6146.Op Fl in Ar file
6147.Op Fl inform Ar DER | PEM
6148.Op Fl out Ar file
6149.Op Fl outform Ar DER | PEM
6150.Ek 6150.Ek
6151.Pp 6151.Pp
6152The 6152The
@@ -6160,6 +6160,24 @@ protocol to use properly, most users will not need to use it.
6160.Pp 6160.Pp
6161The options are as follows: 6161The options are as follows:
6162.Bl -tag -width "XXXX" 6162.Bl -tag -width "XXXX"
6163.It Fl cert
6164If a certificate is present in the session,
6165it will be output using this option;
6166if the
6167.Fl text
6168option is also present, then it will be printed out in text form.
6169.It Fl context Ar ID
6170This option can set the session ID so the output session information uses the
6171supplied
6172.Ar ID .
6173The
6174.Ar ID
6175can be any string of characters.
6176This option won't normally be used.
6177.It Fl in Ar file
6178This specifies the input
6179.Ar file
6180to read session information from, or standard input by default.
6163.It Fl inform Ar DER | PEM 6181.It Fl inform Ar DER | PEM
6164This specifies the input format. 6182This specifies the input format.
6165The 6183The
@@ -6171,58 +6189,41 @@ The
6171.Ar PEM 6189.Ar PEM
6172form is the default format: it consists of the DER 6190form is the default format: it consists of the DER
6173format base64-encoded with additional header and footer lines. 6191format base64-encoded with additional header and footer lines.
6174.It Fl outform Ar DER | PEM 6192.It Fl noout
6175This specifies the output format; the options have the same meaning as the 6193This option prevents output of the encoded version of the session.
6176.Fl inform
6177option.
6178.It Fl in Ar file
6179This specifies the input
6180.Ar file
6181to read session information from, or standard input by default.
6182.It Fl out Ar file 6194.It Fl out Ar file
6183This specifies the output 6195This specifies the output
6184.Ar file 6196.Ar file
6185to write session information to, or standard 6197to write session information to, or standard
6186output if this option is not specified. 6198output if this option is not specified.
6199.It Fl outform Ar DER | PEM
6200This specifies the output format; the options have the same meaning as the
6201.Fl inform
6202option.
6187.It Fl text 6203.It Fl text
6188Prints out the various public or private key components in 6204Prints out the various public or private key components in
6189plain text in addition to the encoded version. 6205plain text in addition to the encoded version.
6190.It Fl cert
6191If a certificate is present in the session,
6192it will be output using this option;
6193if the
6194.Fl text
6195option is also present, then it will be printed out in text form.
6196.It Fl noout
6197This option prevents output of the encoded version of the session.
6198.It Fl context Ar ID
6199This option can set the session ID so the output session information uses the
6200supplied
6201.Ar ID .
6202The
6203.Ar ID
6204can be any string of characters.
6205This option won't normally be used.
6206.El 6206.El
6207.Sh SESS_ID OUTPUT 6207.Sh SESS_ID OUTPUT
6208Typical output: 6208Typical output:
6209.Bd -unfilled 6209.Bd -literal
6210\& SSL-Session: 6210SSL-Session:
6211\& Protocol : TLSv1 6211 Protocol : TLSv1
6212\& Cipher : 0016 6212 Cipher : 0016
6213\& Session-ID: 871E62626C554CE95488823752CBD5F3673A3EF3DCE9C67BD916C809914B40ED 6213 Session-ID: 871E62626C554CE95488823752CBD5F3673A3EF3DCE9C67BD916C809914B40ED
6214\& Session-ID-ctx: 01000000 6214 Session-ID-ctx: 01000000
6215\& Master-Key: A7CEFC571974BE02CAC305269DC59F76EA9F0B180CB6642697A68251F2D2BB57E51DBBB4C7885573192AE9AEE220FACD 6215 Master-Key: A7CEFC571974BE02CAC305269DC59F76EA9F0B180CB6642697A68251F2D2BB57E51DBBB4C7885573192AE9AEE220FACD
6216\& Key-Arg : None 6216 Key-Arg : None
6217\& Start Time: 948459261 6217 Start Time: 948459261
6218\& Timeout : 300 (sec) 6218 Timeout : 300 (sec)
6219\& Verify return code 0 (ok) 6219 Verify return code 0 (ok)
6220.Ed 6220.Ed
6221.Pp 6221.Pp
6222These are described below in more detail. 6222These are described below in more detail.
6223.Bl -tag -width "XXXX" 6223.Pp
6224.Bl -tag -width "Verify return code " -compact
6224.It Ar Protocol 6225.It Ar Protocol
6225This is the protocol in use: TLSv1, SSLv3 or SSLv2. 6226This is the protocol in use: TLSv1, SSLv3, or SSLv2.
6226.It Ar Cipher 6227.It Ar Cipher
6227The cipher used is the actual raw SSL or TLS cipher code; 6228The cipher used is the actual raw SSL or TLS cipher code;
6228see the SSL or TLS specifications for more information. 6229see the SSL or TLS specifications for more information.