summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2007-12-01 11:05:25 +0000
committerjmc <>2007-12-01 11:05:25 +0000
commitdea3d5b72ccc6bd1dad92e25f49aaa4f48cc4064 (patch)
treea744e907063acfb8ce7c1725b818737f415f72ce /src
parent08fce002dfa86ac3b85b3a64a7d1c577e8d6ad01 (diff)
downloadopenbsd-dea3d5b72ccc6bd1dad92e25f49aaa4f48cc4064.tar.gz
openbsd-dea3d5b72ccc6bd1dad92e25f49aaa4f48cc4064.tar.bz2
openbsd-dea3d5b72ccc6bd1dad92e25f49aaa4f48cc4064.zip
relevant updates/fixes up to openssl-0.9.8g;
Diffstat (limited to 'src')
-rw-r--r--src/usr.sbin/openssl/openssl.176
1 files changed, 45 insertions, 31 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1
index 6389e7479e..67c1a76958 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.59 2007/05/31 19:20:26 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.60 2007/12/01 11:05:25 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.\"
@@ -112,7 +112,7 @@
112.\" 112.\"
113.\" OPENSSL 113.\" OPENSSL
114.\" 114.\"
115.Dd $Mdocdate: May 31 2007 $ 115.Dd $Mdocdate: December 1 2007 $
116.Dt OPENSSL 1 116.Dt OPENSSL 1
117.Os 117.Os
118.Sh NAME 118.Sh NAME
@@ -580,6 +580,14 @@ displays the long name.
580Example: 580Example:
581.Pp 581.Pp
582.Dl \&"1.2.3.4 shortname A long name\&" 582.Dl \&"1.2.3.4 shortname A long name\&"
583.Sh ASN1 EXAMPLES
584Parse a file:
585.Pp
586.Dl $ openssl asn1parse -in file.pem
587.Pp
588Parse a DER file:
589.Pp
590.Dl $ openssl asn1parse -inform DER -in file.der
583.Sh ASN1PARSE BUGS 591.Sh ASN1PARSE BUGS
584There should be options to change the format of output lines. 592There should be options to change the format of output lines.
585The output of some ASN.1 types is not well handled 593The output of some ASN.1 types is not well handled
@@ -930,6 +938,10 @@ values for certain extensions such as
930.It Ar crl_extensions 938.It Ar crl_extensions
931The same as 939The same as
932.Fl crlexts . 940.Fl crlexts .
941.It Ar crlnumber
942A text file containing the next CRL number to use in hex.
943The CRL number will be inserted in the CRLs only if this file exists.
944If this file is present, it must contain a valid CRL number.
933.It Ar database 945.It Ar database
934The text database file to use. 946The text database file to use.
935Mandatory. 947Mandatory.
@@ -1051,6 +1063,17 @@ or an EGD socket (see
1051A text file containing the next serial number to use in hex. 1063A text file containing the next serial number to use in hex.
1052Mandatory. 1064Mandatory.
1053This file must be present and contain a valid serial number. 1065This file must be present and contain a valid serial number.
1066.It Ar unique_subject
1067If the value
1068.Ar yes
1069is given, the valid certificate entries in the
1070database must have unique subjects.
1071If the value
1072.Ar no
1073is given,
1074several valid certificate entries may have the exact same subject.
1075The default value is
1076.Ar yes .
1054.It Ar x509_extensions 1077.It Ar x509_extensions
1055The same as 1078The same as
1056.Fl extensions . 1079.Fl extensions .
@@ -1210,8 +1233,7 @@ and if corrupted it can be difficult to fix.
1210It is theoretically possible to rebuild the index file from all the 1233It is theoretically possible to rebuild the index file from all the
1211issued certificates and a current CRL; however there is no option to do this. 1234issued certificates and a current CRL; however there is no option to do this.
1212.Pp 1235.Pp
1213V2 CRL features like delta CRL support and CRL numbers are not currently 1236V2 CRL features like delta CRLs are not currently supported.
1214supported.
1215.Pp 1237.Pp
1216Although several requests can be input and handled at once, it is only 1238Although several requests can be input and handled at once, it is only
1217possible to include one SPKAC or self-signed certificate. 1239possible to include one SPKAC or self-signed certificate.
@@ -1420,7 +1442,7 @@ The following is a list of all permitted cipher strings and their meanings.
1420.It Ar DEFAULT 1442.It Ar DEFAULT
1421The default cipher list. 1443The default cipher list.
1422This is determined at compile time and is normally 1444This is determined at compile time and is normally
1423.Ar ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH . 1445.Ar ALL:!ADH:+RC4:@STRENGTH .
1424This must be the first 1446This must be the first
1425.Ar cipher string 1447.Ar cipher string
1426specified. 1448specified.
@@ -1599,10 +1621,10 @@ TLS_DH_anon_WITH_3DES_EDE_CBC_SHA ADH-DES-CBC3-SHA
1599TLS_RSA_WITH_AES_128_CBC_SHA AES128-SHA 1621TLS_RSA_WITH_AES_128_CBC_SHA AES128-SHA
1600TLS_RSA_WITH_AES_256_CBC_SHA AES256-SHA 1622TLS_RSA_WITH_AES_256_CBC_SHA AES256-SHA
1601 1623
1602TLS_DH_DSS_WITH_AES_128_CBC_SHA DH-DSS-AES128-SHA 1624TLS_DH_DSS_WITH_AES_128_CBC_SHA Not implemented.
1603TLS_DH_DSS_WITH_AES_256_CBC_SHA DH-DSS-AES256-SHA 1625TLS_DH_DSS_WITH_AES_256_CBC_SHA Not implemented.
1604TLS_DH_RSA_WITH_AES_128_CBC_SHA DH-RSA-AES128-SHA 1626TLS_DH_RSA_WITH_AES_128_CBC_SHA Not implemented.
1605TLS_DH_RSA_WITH_AES_256_CBC_SHA DH-RSA-AES256-SHA 1627TLS_DH_RSA_WITH_AES_256_CBC_SHA Not implemented.
1606 1628
1607TLS_DHE_DSS_WITH_AES_128_CBC_SHA DHE-DSS-AES128-SHA 1629TLS_DHE_DSS_WITH_AES_128_CBC_SHA DHE-DSS-AES128-SHA
1608TLS_DHE_DSS_WITH_AES_256_CBC_SHA DHE-DSS-AES256-SHA 1630TLS_DHE_DSS_WITH_AES_256_CBC_SHA DHE-DSS-AES256-SHA
@@ -2614,61 +2636,50 @@ Blowfish and RC5 algorithms use a 128-bit key.
2614.Sh ENC SUPPORTED CIPHERS 2636.Sh ENC SUPPORTED CIPHERS
2615.Bd -unfilled -offset indent 2637.Bd -unfilled -offset indent
2616aes-128-cbc 128-bit AES in CBC mode 2638aes-128-cbc 128-bit AES in CBC mode
2617aes128 Alias for aes-128-cbc
2618aes-128-cfb 128-bit AES in CFB mode
2619aes-128-ecb 128-bit AES in ECB mode 2639aes-128-ecb 128-bit AES in ECB mode
2620aes-128-ofb 128-bit AES in OFB mode
2621 2640
2622aes-192-cbc 192-bit AES in CBC mode 2641aes-192-cbc 192-bit AES in CBC mode
2623aes192 Alias for aes-192-cbc
2624aes-192-cfb 192-bit AES in CFB mode
2625aes-192-ecb 192-bit AES in ECB mode 2642aes-192-ecb 192-bit AES in ECB mode
2626aes-192-ofb 192-bit AES in OFB mode
2627 2643
2628aes-256-cbc 256-bit AES in CBC mode 2644aes-256-cbc 256-bit AES in CBC mode
2629aes256 Alias for aes-256-cbc
2630aes-256-cfb 256-bit AES in CFB mode
2631aes-256-ecb 256-bit AES in ECB mode 2645aes-256-ecb 256-bit AES in ECB mode
2632aes-256-ofb 256-bit AES in OFB mode
2633 2646
2634base64 Base 64 2647base64 Base 64
2635 2648
2636bf-cbc Blowfish in CBC mode
2637bf Alias for bf-cbc 2649bf Alias for bf-cbc
2638blowfish Alias for bf-cbc 2650bf-cbc Blowfish in CBC mode
2639bf-cfb Blowfish in CFB mode 2651bf-cfb Blowfish in CFB mode
2640bf-ecb Blowfish in ECB mode 2652bf-ecb Blowfish in ECB mode
2641bf-ofb Blowfish in OFB mode 2653bf-ofb Blowfish in OFB mode
2642 2654
2643cast-cbc CAST in CBC mode
2644cast Alias for cast-cbc 2655cast Alias for cast-cbc
2656cast-cbc CAST in CBC mode
2645cast5-cbc CAST5 in CBC mode 2657cast5-cbc CAST5 in CBC mode
2646cast5-cfb CAST5 in CFB mode 2658cast5-cfb CAST5 in CFB mode
2647cast5-ecb CAST5 in ECB mode 2659cast5-ecb CAST5 in ECB mode
2648cast5-ofb CAST5 in OFB mode 2660cast5-ofb CAST5 in OFB mode
2649 2661
2650des-cbc DES in CBC mode
2651des Alias for des-cbc 2662des Alias for des-cbc
2663des-cbc DES in CBC mode
2652des-cfb DES in CBC mode 2664des-cfb DES in CBC mode
2653des-ecb DES in ECB mode 2665des-ecb DES in ECB mode
2654des-ofb DES in OFB mode 2666des-ofb DES in OFB mode
2655 2667
2656des-ede-cbc Two key triple DES EDE in CBC mode
2657des-ede Two key triple DES EDE in ECB mode 2668des-ede Two key triple DES EDE in ECB mode
2669des-ede-cbc Two key triple DES EDE in CBC mode
2658des-ede-cfb Two key triple DES EDE in CFB mode 2670des-ede-cfb Two key triple DES EDE in CFB mode
2659des-ede-ofb Two key triple DES EDE in OFB mode 2671des-ede-ofb Two key triple DES EDE in OFB mode
2660 2672
2661des-ede3-cbc Three key triple DES EDE in CBC mode
2662des-ede3 Three key triple DES EDE in ECB mode
2663des3 Alias for des-ede3-cbc 2673des3 Alias for des-ede3-cbc
2674des-ede3 Three key triple DES EDE in ECB mode
2675des-ede3-cbc Three key triple DES EDE in CBC mode
2664des-ede3-cfb Three key triple DES EDE CFB mode 2676des-ede3-cfb Three key triple DES EDE CFB mode
2665des-ede3-ofb Three key triple DES EDE in OFB mode 2677des-ede3-ofb Three key triple DES EDE in OFB mode
2666 2678
2667desx-cbc DESX algorithm
2668desx Alias for desx-cbc 2679desx Alias for desx-cbc
2669 2680
2670rc2-cbc 128-bit RC2 in CBC mode
2671rc2 Alias for rc2-cbc 2681rc2 Alias for rc2-cbc
2682rc2-cbc 128-bit RC2 in CBC mode
2672rc2-cfb 128-bit RC2 in CFB mode 2683rc2-cfb 128-bit RC2 in CFB mode
2673rc2-ecb 128-bit RC2 in ECB mode 2684rc2-ecb 128-bit RC2 in ECB mode
2674rc2-ofb 128-bit RC2 in OFB mode 2685rc2-ofb 128-bit RC2 in OFB mode
@@ -5659,6 +5670,9 @@ on the command line is no guarantee that the certificate works.
5659If there are problems verifying a server certificate, the 5670If there are problems verifying a server certificate, the
5660.Fl showcerts 5671.Fl showcerts
5661option can be used to show the whole chain. 5672option can be used to show the whole chain.
5673.Pp
5674Compression methods are only supported for
5675.Fl tls1 .
5662.Sh S_CLIENT BUGS 5676.Sh S_CLIENT BUGS
5663Because this program has a lot of options and also because some of 5677Because this program has a lot of options and also because some of
5664the techniques used are rather old, the C source of 5678the techniques used are rather old, the C source of
@@ -7858,7 +7872,7 @@ Escape characters with the MSB set; that is, with ASCII values larger than
7858A multiline format. 7872A multiline format.
7859It is equivalent to 7873It is equivalent to
7860.Ar esc_ctrl , esc_msb , sep_multiline , 7874.Ar esc_ctrl , esc_msb , sep_multiline ,
7861.Ar spc_eq , lname , 7875.Ar space_eq , lname ,
7862and 7876and
7863.Ar align . 7877.Ar align .
7864.It Ar no_type 7878.It Ar no_type
@@ -7888,7 +7902,7 @@ A oneline format which is more readable than
7888It is equivalent to specifying the 7902It is equivalent to specifying the
7889.Ar esc_2253 , esc_ctrl , esc_msb , utf8 , 7903.Ar esc_2253 , esc_ctrl , esc_msb , utf8 ,
7890.Ar dump_nostr , dump_der , use_quote , sep_comma_plus_spc , 7904.Ar dump_nostr , dump_der , use_quote , sep_comma_plus_spc ,
7891.Ar spc_eq , 7905.Ar space_eq ,
7892and 7906and
7893.Ar sname 7907.Ar sname
7894options. 7908options.
@@ -7917,7 +7931,7 @@ Show the type of the ASN1 character string.
7917The type precedes the field contents. 7931The type precedes the field contents.
7918For example 7932For example
7919.Qq BMPSTRING: Hello World . 7933.Qq BMPSTRING: Hello World .
7920.It Ar spc_eq 7934.It Ar space_eq
7921Places spaces round the 7935Places spaces round the
7922.Sq = 7936.Sq =
7923character which follows the field name. 7937character which follows the field name.
@@ -8025,7 +8039,7 @@ Display the certificate subject name in oneline form on a terminal
8025supporting UTF8: 8039supporting UTF8:
8026.Bd -literal -offset indent 8040.Bd -literal -offset indent
8027$ openssl x509 -in cert.pem -noout -subject \e 8041$ openssl x509 -in cert.pem -noout -subject \e
8028 -nameopt oneline,esc_msb 8042 -nameopt oneline,-esc_msb
8029.Ed 8043.Ed
8030.Pp 8044.Pp
8031Display the certificate MD5 fingerprint: 8045Display the certificate MD5 fingerprint: