diff options
Diffstat (limited to '')
| -rw-r--r-- | src/usr.sbin/openssl/openssl.1 | 76 |
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. | |||
| 580 | Example: | 580 | Example: |
| 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 | ||
| 584 | Parse a file: | ||
| 585 | .Pp | ||
| 586 | .Dl $ openssl asn1parse -in file.pem | ||
| 587 | .Pp | ||
| 588 | Parse a DER file: | ||
| 589 | .Pp | ||
| 590 | .Dl $ openssl asn1parse -inform DER -in file.der | ||
| 583 | .Sh ASN1PARSE BUGS | 591 | .Sh ASN1PARSE BUGS |
| 584 | There should be options to change the format of output lines. | 592 | There should be options to change the format of output lines. |
| 585 | The output of some ASN.1 types is not well handled | 593 | The 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 |
| 931 | The same as | 939 | The same as |
| 932 | .Fl crlexts . | 940 | .Fl crlexts . |
| 941 | .It Ar crlnumber | ||
| 942 | A text file containing the next CRL number to use in hex. | ||
| 943 | The CRL number will be inserted in the CRLs only if this file exists. | ||
| 944 | If this file is present, it must contain a valid CRL number. | ||
| 933 | .It Ar database | 945 | .It Ar database |
| 934 | The text database file to use. | 946 | The text database file to use. |
| 935 | Mandatory. | 947 | Mandatory. |
| @@ -1051,6 +1063,17 @@ or an EGD socket (see | |||
| 1051 | A text file containing the next serial number to use in hex. | 1063 | A text file containing the next serial number to use in hex. |
| 1052 | Mandatory. | 1064 | Mandatory. |
| 1053 | This file must be present and contain a valid serial number. | 1065 | This file must be present and contain a valid serial number. |
| 1066 | .It Ar unique_subject | ||
| 1067 | If the value | ||
| 1068 | .Ar yes | ||
| 1069 | is given, the valid certificate entries in the | ||
| 1070 | database must have unique subjects. | ||
| 1071 | If the value | ||
| 1072 | .Ar no | ||
| 1073 | is given, | ||
| 1074 | several valid certificate entries may have the exact same subject. | ||
| 1075 | The default value is | ||
| 1076 | .Ar yes . | ||
| 1054 | .It Ar x509_extensions | 1077 | .It Ar x509_extensions |
| 1055 | The same as | 1078 | The same as |
| 1056 | .Fl extensions . | 1079 | .Fl extensions . |
| @@ -1210,8 +1233,7 @@ and if corrupted it can be difficult to fix. | |||
| 1210 | It is theoretically possible to rebuild the index file from all the | 1233 | It is theoretically possible to rebuild the index file from all the |
| 1211 | issued certificates and a current CRL; however there is no option to do this. | 1234 | issued certificates and a current CRL; however there is no option to do this. |
| 1212 | .Pp | 1235 | .Pp |
| 1213 | V2 CRL features like delta CRL support and CRL numbers are not currently | 1236 | V2 CRL features like delta CRLs are not currently supported. |
| 1214 | supported. | ||
| 1215 | .Pp | 1237 | .Pp |
| 1216 | Although several requests can be input and handled at once, it is only | 1238 | Although several requests can be input and handled at once, it is only |
| 1217 | possible to include one SPKAC or self-signed certificate. | 1239 | possible 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 |
| 1421 | The default cipher list. | 1443 | The default cipher list. |
| 1422 | This is determined at compile time and is normally | 1444 | This is determined at compile time and is normally |
| 1423 | .Ar ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH . | 1445 | .Ar ALL:!ADH:+RC4:@STRENGTH . |
| 1424 | This must be the first | 1446 | This must be the first |
| 1425 | .Ar cipher string | 1447 | .Ar cipher string |
| 1426 | specified. | 1448 | specified. |
| @@ -1599,10 +1621,10 @@ TLS_DH_anon_WITH_3DES_EDE_CBC_SHA ADH-DES-CBC3-SHA | |||
| 1599 | TLS_RSA_WITH_AES_128_CBC_SHA AES128-SHA | 1621 | TLS_RSA_WITH_AES_128_CBC_SHA AES128-SHA |
| 1600 | TLS_RSA_WITH_AES_256_CBC_SHA AES256-SHA | 1622 | TLS_RSA_WITH_AES_256_CBC_SHA AES256-SHA |
| 1601 | 1623 | ||
| 1602 | TLS_DH_DSS_WITH_AES_128_CBC_SHA DH-DSS-AES128-SHA | 1624 | TLS_DH_DSS_WITH_AES_128_CBC_SHA Not implemented. |
| 1603 | TLS_DH_DSS_WITH_AES_256_CBC_SHA DH-DSS-AES256-SHA | 1625 | TLS_DH_DSS_WITH_AES_256_CBC_SHA Not implemented. |
| 1604 | TLS_DH_RSA_WITH_AES_128_CBC_SHA DH-RSA-AES128-SHA | 1626 | TLS_DH_RSA_WITH_AES_128_CBC_SHA Not implemented. |
| 1605 | TLS_DH_RSA_WITH_AES_256_CBC_SHA DH-RSA-AES256-SHA | 1627 | TLS_DH_RSA_WITH_AES_256_CBC_SHA Not implemented. |
| 1606 | 1628 | ||
| 1607 | TLS_DHE_DSS_WITH_AES_128_CBC_SHA DHE-DSS-AES128-SHA | 1629 | TLS_DHE_DSS_WITH_AES_128_CBC_SHA DHE-DSS-AES128-SHA |
| 1608 | TLS_DHE_DSS_WITH_AES_256_CBC_SHA DHE-DSS-AES256-SHA | 1630 | TLS_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 |
| 2616 | aes-128-cbc 128-bit AES in CBC mode | 2638 | aes-128-cbc 128-bit AES in CBC mode |
| 2617 | aes128 Alias for aes-128-cbc | ||
| 2618 | aes-128-cfb 128-bit AES in CFB mode | ||
| 2619 | aes-128-ecb 128-bit AES in ECB mode | 2639 | aes-128-ecb 128-bit AES in ECB mode |
| 2620 | aes-128-ofb 128-bit AES in OFB mode | ||
| 2621 | 2640 | ||
| 2622 | aes-192-cbc 192-bit AES in CBC mode | 2641 | aes-192-cbc 192-bit AES in CBC mode |
| 2623 | aes192 Alias for aes-192-cbc | ||
| 2624 | aes-192-cfb 192-bit AES in CFB mode | ||
| 2625 | aes-192-ecb 192-bit AES in ECB mode | 2642 | aes-192-ecb 192-bit AES in ECB mode |
| 2626 | aes-192-ofb 192-bit AES in OFB mode | ||
| 2627 | 2643 | ||
| 2628 | aes-256-cbc 256-bit AES in CBC mode | 2644 | aes-256-cbc 256-bit AES in CBC mode |
| 2629 | aes256 Alias for aes-256-cbc | ||
| 2630 | aes-256-cfb 256-bit AES in CFB mode | ||
| 2631 | aes-256-ecb 256-bit AES in ECB mode | 2645 | aes-256-ecb 256-bit AES in ECB mode |
| 2632 | aes-256-ofb 256-bit AES in OFB mode | ||
| 2633 | 2646 | ||
| 2634 | base64 Base 64 | 2647 | base64 Base 64 |
| 2635 | 2648 | ||
| 2636 | bf-cbc Blowfish in CBC mode | ||
| 2637 | bf Alias for bf-cbc | 2649 | bf Alias for bf-cbc |
| 2638 | blowfish Alias for bf-cbc | 2650 | bf-cbc Blowfish in CBC mode |
| 2639 | bf-cfb Blowfish in CFB mode | 2651 | bf-cfb Blowfish in CFB mode |
| 2640 | bf-ecb Blowfish in ECB mode | 2652 | bf-ecb Blowfish in ECB mode |
| 2641 | bf-ofb Blowfish in OFB mode | 2653 | bf-ofb Blowfish in OFB mode |
| 2642 | 2654 | ||
| 2643 | cast-cbc CAST in CBC mode | ||
| 2644 | cast Alias for cast-cbc | 2655 | cast Alias for cast-cbc |
| 2656 | cast-cbc CAST in CBC mode | ||
| 2645 | cast5-cbc CAST5 in CBC mode | 2657 | cast5-cbc CAST5 in CBC mode |
| 2646 | cast5-cfb CAST5 in CFB mode | 2658 | cast5-cfb CAST5 in CFB mode |
| 2647 | cast5-ecb CAST5 in ECB mode | 2659 | cast5-ecb CAST5 in ECB mode |
| 2648 | cast5-ofb CAST5 in OFB mode | 2660 | cast5-ofb CAST5 in OFB mode |
| 2649 | 2661 | ||
| 2650 | des-cbc DES in CBC mode | ||
| 2651 | des Alias for des-cbc | 2662 | des Alias for des-cbc |
| 2663 | des-cbc DES in CBC mode | ||
| 2652 | des-cfb DES in CBC mode | 2664 | des-cfb DES in CBC mode |
| 2653 | des-ecb DES in ECB mode | 2665 | des-ecb DES in ECB mode |
| 2654 | des-ofb DES in OFB mode | 2666 | des-ofb DES in OFB mode |
| 2655 | 2667 | ||
| 2656 | des-ede-cbc Two key triple DES EDE in CBC mode | ||
| 2657 | des-ede Two key triple DES EDE in ECB mode | 2668 | des-ede Two key triple DES EDE in ECB mode |
| 2669 | des-ede-cbc Two key triple DES EDE in CBC mode | ||
| 2658 | des-ede-cfb Two key triple DES EDE in CFB mode | 2670 | des-ede-cfb Two key triple DES EDE in CFB mode |
| 2659 | des-ede-ofb Two key triple DES EDE in OFB mode | 2671 | des-ede-ofb Two key triple DES EDE in OFB mode |
| 2660 | 2672 | ||
| 2661 | des-ede3-cbc Three key triple DES EDE in CBC mode | ||
| 2662 | des-ede3 Three key triple DES EDE in ECB mode | ||
| 2663 | des3 Alias for des-ede3-cbc | 2673 | des3 Alias for des-ede3-cbc |
| 2674 | des-ede3 Three key triple DES EDE in ECB mode | ||
| 2675 | des-ede3-cbc Three key triple DES EDE in CBC mode | ||
| 2664 | des-ede3-cfb Three key triple DES EDE CFB mode | 2676 | des-ede3-cfb Three key triple DES EDE CFB mode |
| 2665 | des-ede3-ofb Three key triple DES EDE in OFB mode | 2677 | des-ede3-ofb Three key triple DES EDE in OFB mode |
| 2666 | 2678 | ||
| 2667 | desx-cbc DESX algorithm | ||
| 2668 | desx Alias for desx-cbc | 2679 | desx Alias for desx-cbc |
| 2669 | 2680 | ||
| 2670 | rc2-cbc 128-bit RC2 in CBC mode | ||
| 2671 | rc2 Alias for rc2-cbc | 2681 | rc2 Alias for rc2-cbc |
| 2682 | rc2-cbc 128-bit RC2 in CBC mode | ||
| 2672 | rc2-cfb 128-bit RC2 in CFB mode | 2683 | rc2-cfb 128-bit RC2 in CFB mode |
| 2673 | rc2-ecb 128-bit RC2 in ECB mode | 2684 | rc2-ecb 128-bit RC2 in ECB mode |
| 2674 | rc2-ofb 128-bit RC2 in OFB mode | 2685 | rc2-ofb 128-bit RC2 in OFB mode |
| @@ -5659,6 +5670,9 @@ on the command line is no guarantee that the certificate works. | |||
| 5659 | If there are problems verifying a server certificate, the | 5670 | If there are problems verifying a server certificate, the |
| 5660 | .Fl showcerts | 5671 | .Fl showcerts |
| 5661 | option can be used to show the whole chain. | 5672 | option can be used to show the whole chain. |
| 5673 | .Pp | ||
| 5674 | Compression methods are only supported for | ||
| 5675 | .Fl tls1 . | ||
| 5662 | .Sh S_CLIENT BUGS | 5676 | .Sh S_CLIENT BUGS |
| 5663 | Because this program has a lot of options and also because some of | 5677 | Because this program has a lot of options and also because some of |
| 5664 | the techniques used are rather old, the C source of | 5678 | the 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 | |||
| 7858 | A multiline format. | 7872 | A multiline format. |
| 7859 | It is equivalent to | 7873 | It 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 , |
| 7862 | and | 7876 | and |
| 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 | |||
| 7888 | It is equivalent to specifying the | 7902 | It 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 , |
| 7892 | and | 7906 | and |
| 7893 | .Ar sname | 7907 | .Ar sname |
| 7894 | options. | 7908 | options. |
| @@ -7917,7 +7931,7 @@ Show the type of the ASN1 character string. | |||
| 7917 | The type precedes the field contents. | 7931 | The type precedes the field contents. |
| 7918 | For example | 7932 | For example |
| 7919 | .Qq BMPSTRING: Hello World . | 7933 | .Qq BMPSTRING: Hello World . |
| 7920 | .It Ar spc_eq | 7934 | .It Ar space_eq |
| 7921 | Places spaces round the | 7935 | Places spaces round the |
| 7922 | .Sq = | 7936 | .Sq = |
| 7923 | character which follows the field name. | 7937 | character which follows the field name. |
| @@ -8025,7 +8039,7 @@ Display the certificate subject name in oneline form on a terminal | |||
| 8025 | supporting UTF8: | 8039 | supporting 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 |
| 8031 | Display the certificate MD5 fingerprint: | 8045 | Display the certificate MD5 fingerprint: |
