summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2019-10-04 06:22:51 +0000
committerjmc <>2019-10-04 06:22:51 +0000
commit1b6c1e78d6ad6a475e391e0d52ead3a98e4b79c8 (patch)
treeba8bb228199673bbbf769b8603814a68d4d57167
parent83898f20b2823654469fa40569642af38cb87a96 (diff)
downloadopenbsd-1b6c1e78d6ad6a475e391e0d52ead3a98e4b79c8.tar.gz
openbsd-1b6c1e78d6ad6a475e391e0d52ead3a98e4b79c8.tar.bz2
openbsd-1b6c1e78d6ad6a475e391e0d52ead3a98e4b79c8.zip
the formatting for the mini synopses in this page did not render well
on html or groff. the solution, to replace the non-standard .nr macros with a hang list, was provided by ingo - thanks! ok schwarze
-rw-r--r--src/usr.bin/openssl/openssl.1294
1 files changed, 179 insertions, 115 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index 690b91ae96..958e517c19 100644
--- a/src/usr.bin/openssl/openssl.1
+++ b/src/usr.bin/openssl/openssl.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.1,v 1.113 2019/08/05 12:01:51 inoguchi Exp $ 1.\" $OpenBSD: openssl.1,v 1.114 2019/10/04 06:22:51 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.Dd $Mdocdate: August 5 2019 $ 113.Dd $Mdocdate: October 4 2019 $
114.Dt OPENSSL 1 114.Dt OPENSSL 1
115.Os 115.Os
116.Sh NAME 116.Sh NAME
@@ -201,8 +201,9 @@ or
201.Cm no- Ns Ar command 201.Cm no- Ns Ar command
202itself. 202itself.
203.Sh ASN1PARSE 203.Sh ASN1PARSE
204.nr nS 1 204.Bl -hang -width "openssl asn1parse"
205.Nm "openssl asn1parse" 205.It Nm openssl asn1parse
206.Bk -words
206.Op Fl i 207.Op Fl i
207.Op Fl dlimit Ar number 208.Op Fl dlimit Ar number
208.Op Fl dump 209.Op Fl dump
@@ -216,7 +217,8 @@ itself.
216.Op Fl oid Ar file 217.Op Fl oid Ar file
217.Op Fl out Ar file 218.Op Fl out Ar file
218.Op Fl strparse Ar offset 219.Op Fl strparse Ar offset
219.nr nS 0 220.Ek
221.El
220.Pp 222.Pp
221The 223The
222.Nm asn1parse 224.Nm asn1parse
@@ -295,8 +297,9 @@ This option can be used multiple times to
295into a nested structure. 297into a nested structure.
296.El 298.El
297.Sh CA 299.Sh CA
298.nr nS 1 300.Bl -hang -width "openssl ca"
299.Nm "openssl ca" 301.It Nm openssl ca
302.Bk -words
300.Op Fl batch 303.Op Fl batch
301.Op Fl cert Ar file 304.Op Fl cert Ar file
302.Op Fl config Ar file 305.Op Fl config Ar file
@@ -341,7 +344,8 @@ into a nested structure.
341.Op Fl updatedb 344.Op Fl updatedb
342.Op Fl utf8 345.Op Fl utf8
343.Op Fl verbose 346.Op Fl verbose
344.nr nS 0 347.Ek
348.El
345.Pp 349.Pp
346The 350The
347.Nm ca 351.Nm ca
@@ -874,8 +878,9 @@ Like
874but without cipher suite codes. 878but without cipher suite codes.
875.El 879.El
876.Sh CRL 880.Sh CRL
877.nr nS 1 881.Bl -hang -width "openssl crl"
878.Nm "openssl crl" 882.It Nm openssl crl
883.Bk -words
879.Op Fl CAfile Ar file 884.Op Fl CAfile Ar file
880.Op Fl CApath Ar dir 885.Op Fl CApath Ar dir
881.Op Fl crlnumber 886.Op Fl crlnumber
@@ -893,7 +898,8 @@ but without cipher suite codes.
893.Op Fl outform Cm der | pem 898.Op Fl outform Cm der | pem
894.Op Fl text 899.Op Fl text
895.Op Fl verify 900.Op Fl verify
896.nr nS 0 901.Ek
902.El
897.Pp 903.Pp
898The 904The
899.Nm crl 905.Nm crl
@@ -948,15 +954,17 @@ Print the CRL in plain text.
948Verify the signature on the CRL. 954Verify the signature on the CRL.
949.El 955.El
950.Sh CRL2PKCS7 956.Sh CRL2PKCS7
951.nr nS 1 957.Bl -hang -width "openssl crl2pkcs7"
952.Nm "openssl crl2pkcs7" 958.It Nm openssl crl2pkcs7
959.Bk -words
953.Op Fl certfile Ar file 960.Op Fl certfile Ar file
954.Op Fl in Ar file 961.Op Fl in Ar file
955.Op Fl inform Cm der | pem 962.Op Fl inform Cm der | pem
956.Op Fl nocrl 963.Op Fl nocrl
957.Op Fl out Ar file 964.Op Fl out Ar file
958.Op Fl outform Cm der | pem 965.Op Fl outform Cm der | pem
959.nr nS 0 966.Ek
967.El
960.Pp 968.Pp
961The 969The
962.Nm crl2pkcs7 970.Nm crl2pkcs7
@@ -991,8 +999,9 @@ or standard output if not specified.
991The output format. 999The output format.
992.El 1000.El
993.Sh DGST 1001.Sh DGST
994.nr nS 1 1002.Bl -hang -width "openssl dgst"
995.Nm "openssl dgst" 1003.It Nm openssl dgst
1004.Bk -words
996.Op Fl cdr 1005.Op Fl cdr
997.Op Fl binary 1006.Op Fl binary
998.Op Fl Ar digest 1007.Op Fl Ar digest
@@ -1009,7 +1018,8 @@ The output format.
1009.Op Fl sigopt Ar nm : Ns Ar v 1018.Op Fl sigopt Ar nm : Ns Ar v
1010.Op Fl verify Ar file 1019.Op Fl verify Ar file
1011.Op Ar 1020.Op Ar
1012.nr nS 0 1021.Ek
1022.El
1013.Pp 1023.Pp
1014The digest functions output the message digest of a supplied 1024The digest functions output the message digest of a supplied
1015.Ar file 1025.Ar file
@@ -1103,8 +1113,9 @@ File or files to digest.
1103If no files are specified then standard input is used. 1113If no files are specified then standard input is used.
1104.El 1114.El
1105.Sh DHPARAM 1115.Sh DHPARAM
1106.nr nS 1 1116.Bl -hang -width "openssl dhparam"
1107.Nm "openssl dhparam" 1117.It Nm openssl dhparam
1118.Bk -words
1108.Op Fl 2 | 5 1119.Op Fl 2 | 5
1109.Op Fl C 1120.Op Fl C
1110.Op Fl check 1121.Op Fl check
@@ -1116,7 +1127,8 @@ If no files are specified then standard input is used.
1116.Op Fl outform Cm der | pem 1127.Op Fl outform Cm der | pem
1117.Op Fl text 1128.Op Fl text
1118.Op Ar numbits 1129.Op Ar numbits
1119.nr nS 0 1130.Ek
1131.El
1120.Pp 1132.Pp
1121The 1133The
1122.Nm dhparam 1134.Nm dhparam
@@ -1177,8 +1189,9 @@ If this value is present, the input file is ignored and
1177parameters are generated instead. 1189parameters are generated instead.
1178.El 1190.El
1179.Sh DSA 1191.Sh DSA
1180.nr nS 1 1192.Bl -hang -width "openssl dsa"
1181.Nm "openssl dsa" 1193.It Nm openssl dsa
1194.Bk -words
1182.Oo 1195.Oo
1183.Fl aes128 | aes192 | aes256 | 1196.Fl aes128 | aes192 | aes256 |
1184.Fl des | des3 1197.Fl des | des3
@@ -1195,7 +1208,8 @@ parameters are generated instead.
1195.Op Fl pubout 1208.Op Fl pubout
1196.Op Fl pvk-none | pvk-strong | pvk-weak 1209.Op Fl pvk-none | pvk-strong | pvk-weak
1197.Op Fl text 1210.Op Fl text
1198.nr nS 0 1211.Ek
1212.El
1199.Pp 1213.Pp
1200The 1214The
1201.Nm dsa 1215.Nm dsa
@@ -1263,8 +1277,9 @@ The default is
1263Print the public/private key in plain text. 1277Print the public/private key in plain text.
1264.El 1278.El
1265.Sh DSAPARAM 1279.Sh DSAPARAM
1266.nr nS 1 1280.Bl -hang -width "openssl dsaparam"
1267.Nm "openssl dsaparam" 1281.It Nm openssl dsaparam
1282.Bk -words
1268.Op Fl C 1283.Op Fl C
1269.Op Fl genkey 1284.Op Fl genkey
1270.Op Fl in Ar file 1285.Op Fl in Ar file
@@ -1274,7 +1289,8 @@ Print the public/private key in plain text.
1274.Op Fl outform Cm der | pem 1289.Op Fl outform Cm der | pem
1275.Op Fl text 1290.Op Fl text
1276.Op Ar numbits 1291.Op Ar numbits
1277.nr nS 0 1292.Ek
1293.El
1278.Pp 1294.Pp
1279The 1295The
1280.Nm dsaparam 1296.Nm dsaparam
@@ -1313,8 +1329,9 @@ Generate a parameter set of size
1313If this option is included, the input file is ignored. 1329If this option is included, the input file is ignored.
1314.El 1330.El
1315.Sh EC 1331.Sh EC
1316.nr nS 1 1332.Bl -hang -width "openssl ec"
1317.Nm "openssl ec" 1333.It Nm openssl ec
1334.Bk -words
1318.Op Fl conv_form Ar arg 1335.Op Fl conv_form Ar arg
1319.Op Fl des 1336.Op Fl des
1320.Op Fl des3 1337.Op Fl des3
@@ -1330,7 +1347,8 @@ If this option is included, the input file is ignored.
1330.Op Fl pubin 1347.Op Fl pubin
1331.Op Fl pubout 1348.Op Fl pubout
1332.Op Fl text 1349.Op Fl text
1333.nr nS 0 1350.Ek
1351.El
1334.Pp 1352.Pp
1335The 1353The
1336.Nm ec 1354.Nm ec
@@ -1423,8 +1441,9 @@ Automatically set if the input is a public key.
1423Print the public/private key in plain text. 1441Print the public/private key in plain text.
1424.El 1442.El
1425.Sh ECPARAM 1443.Sh ECPARAM
1426.nr nS 1 1444.Bl -hang -width "openssl ecparam"
1427.Nm "openssl ecparam" 1445.It Nm openssl ecparam
1446.Bk -words
1428.Op Fl C 1447.Op Fl C
1429.Op Fl check 1448.Op Fl check
1430.Op Fl conv_form Ar arg 1449.Op Fl conv_form Ar arg
@@ -1439,7 +1458,8 @@ Print the public/private key in plain text.
1439.Op Fl outform Cm der | pem 1458.Op Fl outform Cm der | pem
1440.Op Fl param_enc Ar arg 1459.Op Fl param_enc Ar arg
1441.Op Fl text 1460.Op Fl text
1442.nr nS 0 1461.Ek
1462.El
1443.Pp 1463.Pp
1444The 1464The
1445.Nm ecparam 1465.Nm ecparam
@@ -1516,8 +1536,9 @@ is currently not implemented.
1516Print the EC parameters in plain text. 1536Print the EC parameters in plain text.
1517.El 1537.El
1518.Sh ENC 1538.Sh ENC
1519.nr nS 1 1539.Bl -hang -width "openssl enc"
1520.Nm "openssl enc" 1540.It Nm openssl enc
1541.Bk -words
1521.Fl ciphername 1542.Fl ciphername
1522.Op Fl AadePpv 1543.Op Fl AadePpv
1523.Op Fl base64 1544.Op Fl base64
@@ -1538,7 +1559,8 @@ Print the EC parameters in plain text.
1538.Op Fl pbkdf2 1559.Op Fl pbkdf2
1539.Op Fl S Ar salt 1560.Op Fl S Ar salt
1540.Op Fl salt 1561.Op Fl salt
1541.nr nS 0 1562.Ek
1563.El
1542.Pp 1564.Pp
1543The symmetric cipher commands allow data to be encrypted or decrypted 1565The symmetric cipher commands allow data to be encrypted or decrypted
1544using various block and stream ciphers using keys based on passwords 1566using various block and stream ciphers using keys based on passwords
@@ -1710,8 +1732,9 @@ The options are as follows:
1710Print debugging statistics about various aspects of the hash table. 1732Print debugging statistics about various aspects of the hash table.
1711.El 1733.El
1712.Sh GENDSA 1734.Sh GENDSA
1713.nr nS 1 1735.Bl -hang -width "openssl gendsa"
1714.Nm "openssl gendsa" 1736.It Nm openssl gendsa
1737.Bk -words
1715.Oo 1738.Oo
1716.Fl aes128 | aes192 | aes256 | camellia128 | 1739.Fl aes128 | aes192 | aes256 | camellia128 |
1717.Fl camellia192 | camellia256 | des | des3 | idea 1740.Fl camellia192 | camellia256 | des | des3 | idea
@@ -1719,7 +1742,8 @@ Print debugging statistics about various aspects of the hash table.
1719.Op Fl out Ar file 1742.Op Fl out Ar file
1720.Op Fl passout Ar arg 1743.Op Fl passout Ar arg
1721.Ar paramfile 1744.Ar paramfile
1722.nr nS 0 1745.Ek
1746.El
1723.Pp 1747.Pp
1724The 1748The
1725.Nm gendsa 1749.Nm gendsa
@@ -1754,8 +1778,9 @@ Specify the DSA parameter file to use.
1754The parameters in this file determine the size of the private key. 1778The parameters in this file determine the size of the private key.
1755.El 1779.El
1756.Sh GENPKEY 1780.Sh GENPKEY
1757.nr nS 1 1781.Bl -hang -width "openssl genpkey"
1758.Nm "openssl genpkey" 1782.It Nm openssl genpkey
1783.Bk -words
1759.Op Fl algorithm Ar alg 1784.Op Fl algorithm Ar alg
1760.Op Ar cipher 1785.Op Ar cipher
1761.Op Fl genparam 1786.Op Fl genparam
@@ -1765,7 +1790,8 @@ The parameters in this file determine the size of the private key.
1765.Op Fl pass Ar arg 1790.Op Fl pass Ar arg
1766.Op Fl pkeyopt Ar opt : Ns Ar value 1791.Op Fl pkeyopt Ar opt : Ns Ar value
1767.Op Fl text 1792.Op Fl text
1768.nr nS 0 1793.Ek
1794.El
1769.Pp 1795.Pp
1770The 1796The
1771.Nm genpkey 1797.Nm genpkey
@@ -1856,8 +1882,9 @@ The EC curve to use.
1856Print the private/public key in plain text. 1882Print the private/public key in plain text.
1857.El 1883.El
1858.Sh GENRSA 1884.Sh GENRSA
1859.nr nS 1 1885.Bl -hang -width "openssl genrsa"
1860.Nm "openssl genrsa" 1886.It Nm openssl genrsa
1887.Bk -words
1861.Op Fl 3 | f4 1888.Op Fl 3 | f4
1862.Oo 1889.Oo
1863.Fl aes128 | aes192 | aes256 | camellia128 | 1890.Fl aes128 | aes192 | aes256 | camellia128 |
@@ -1866,7 +1893,8 @@ Print the private/public key in plain text.
1866.Op Fl out Ar file 1893.Op Fl out Ar file
1867.Op Fl passout Ar arg 1894.Op Fl passout Ar arg
1868.Op Ar numbits 1895.Op Ar numbits
1869.nr nS 0 1896.Ek
1897.El
1870.Pp 1898.Pp
1871The 1899The
1872.Nm genrsa 1900.Nm genrsa
@@ -1941,8 +1969,9 @@ option the situation is reversed:
1941a Netscape certificate sequence is created from a file of certificates. 1969a Netscape certificate sequence is created from a file of certificates.
1942.El 1970.El
1943.Sh OCSP 1971.Sh OCSP
1944.nr nS 1 1972.Bl -hang -width "openssl ocsp"
1945.Nm "openssl ocsp" 1973.It Nm openssl ocsp
1974.Bk -words
1946.Op Fl CA Ar file 1975.Op Fl CA Ar file
1947.Op Fl CAfile Ar file 1976.Op Fl CAfile Ar file
1948.Op Fl CApath Ar directory 1977.Op Fl CApath Ar directory
@@ -1992,7 +2021,8 @@ a Netscape certificate sequence is created from a file of certificates.
1992.Op Fl VAfile Ar file 2021.Op Fl VAfile Ar file
1993.Op Fl validity_period Ar nsec 2022.Op Fl validity_period Ar nsec
1994.Op Fl verify_other Ar file 2023.Op Fl verify_other Ar file
1995.nr nS 0 2024.Ek
2025.El
1996.Pp 2026.Pp
1997The Online Certificate Status Protocol (OCSP) 2027The Online Certificate Status Protocol (OCSP)
1998enables applications to determine the (revocation) state 2028enables applications to determine the (revocation) state
@@ -2291,8 +2321,9 @@ with the
2291.Fl VAfile 2321.Fl VAfile
2292option. 2322option.
2293.Sh PASSWD 2323.Sh PASSWD
2294.nr nS 1 2324.Bl -hang -width "openssl passwd"
2295.Nm "openssl passwd" 2325.It Nm openssl passwd
2326.Bk -words
2296.Op Fl 1 | apr1 | crypt 2327.Op Fl 1 | apr1 | crypt
2297.Op Fl in Ar file 2328.Op Fl in Ar file
2298.Op Fl noverify 2329.Op Fl noverify
@@ -2302,7 +2333,8 @@ option.
2302.Op Fl stdin 2333.Op Fl stdin
2303.Op Fl table 2334.Op Fl table
2304.Op Ar password 2335.Op Ar password
2305.nr nS 0 2336.Ek
2337.El
2306.Pp 2338.Pp
2307The 2339The
2308.Nm passwd 2340.Nm passwd
@@ -2352,8 +2384,9 @@ In the output list, prepend the cleartext password and a TAB character
2352to each password hash. 2384to each password hash.
2353.El 2385.El
2354.Sh PKCS7 2386.Sh PKCS7
2355.nr nS 1 2387.Bl -hang -width "openssl pkcs7"
2356.Nm "openssl pkcs7" 2388.It Nm openssl pkcs7
2389.Bk -words
2357.Op Fl in Ar file 2390.Op Fl in Ar file
2358.Op Fl inform Cm der | pem 2391.Op Fl inform Cm der | pem
2359.Op Fl noout 2392.Op Fl noout
@@ -2362,7 +2395,8 @@ to each password hash.
2362.Op Fl print 2395.Op Fl print
2363.Op Fl print_certs 2396.Op Fl print_certs
2364.Op Fl text 2397.Op Fl text
2365.nr nS 0 2398.Ek
2399.El
2366.Pp 2400.Pp
2367The 2401The
2368.Nm pkcs7 2402.Nm pkcs7
@@ -2395,8 +2429,9 @@ preceded by their subject and issuer names in a one-line format.
2395Print certificate details in full rather than just subject and issuer names. 2429Print certificate details in full rather than just subject and issuer names.
2396.El 2430.El
2397.Sh PKCS8 2431.Sh PKCS8
2398.nr nS 1 2432.Bl -hang -width "openssl pkcs8"
2399.Nm "openssl pkcs8" 2433.It Nm openssl pkcs8
2434.Bk -words
2400.Op Fl in Ar file 2435.Op Fl in Ar file
2401.Op Fl inform Cm der | pem 2436.Op Fl inform Cm der | pem
2402.Op Fl nocrypt 2437.Op Fl nocrypt
@@ -2408,7 +2443,8 @@ Print certificate details in full rather than just subject and issuer names.
2408.Op Fl topk8 2443.Op Fl topk8
2409.Op Fl v1 Ar alg 2444.Op Fl v1 Ar alg
2410.Op Fl v2 Ar alg 2445.Op Fl v2 Ar alg
2411.nr nS 0 2446.Ek
2447.El
2412.Pp 2448.Pp
2413The 2449The
2414.Nm pkcs8 2450.Nm pkcs8
@@ -2476,8 +2512,9 @@ valid values include des, des3, and rc2.
2476It is recommended that des3 is used. 2512It is recommended that des3 is used.
2477.El 2513.El
2478.Sh PKCS12 2514.Sh PKCS12
2479.nr nS 1 2515.Bl -hang -width "openssl pkcs12"
2480.Nm "openssl pkcs12" 2516.It Nm openssl pkcs12
2517.Bk -words
2481.Oo 2518.Oo
2482.Fl aes128 | aes192 | aes256 | camellia128 | 2519.Fl aes128 | aes192 | aes256 | camellia128 |
2483.Fl camellia192 | camellia256 | des | des3 | idea 2520.Fl camellia192 | camellia256 | des | des3 | idea
@@ -2516,7 +2553,8 @@ It is recommended that des3 is used.
2516.Op Fl passout Ar arg 2553.Op Fl passout Ar arg
2517.Op Fl password Ar arg 2554.Op Fl password Ar arg
2518.Op Fl twopass 2555.Op Fl twopass
2519.nr nS 0 2556.Ek
2557.El
2520.Pp 2558.Pp
2521The 2559The
2522.Nm pkcs12 2560.Nm pkcs12
@@ -2691,8 +2729,9 @@ is equivalent to
2691.Fl passin . 2729.Fl passin .
2692.El 2730.El
2693.Sh PKEY 2731.Sh PKEY
2694.nr nS 1 2732.Bl -hang -width "openssl pkey"
2695.Nm "openssl pkey" 2733.It Nm openssl pkey
2734.Bk -words
2696.Op Ar cipher 2735.Op Ar cipher
2697.Op Fl in Ar file 2736.Op Fl in Ar file
2698.Op Fl inform Cm der | pem 2737.Op Fl inform Cm der | pem
@@ -2705,7 +2744,8 @@ is equivalent to
2705.Op Fl pubout 2744.Op Fl pubout
2706.Op Fl text 2745.Op Fl text
2707.Op Fl text_pub 2746.Op Fl text_pub
2708.nr nS 0 2747.Ek
2748.El
2709.Pp 2749.Pp
2710The 2750The
2711.Nm pkey 2751.Nm pkey
@@ -2777,8 +2817,9 @@ or standard output if not specified.
2777Print the parameters in plain text. 2817Print the parameters in plain text.
2778.El 2818.El
2779.Sh PKEYUTL 2819.Sh PKEYUTL
2780.nr nS 1 2820.Bl -hang -width "openssl pkeyutl"
2781.Nm "openssl pkeyutl" 2821.It Nm openssl pkeyutl
2822.Bk -words
2782.Op Fl asn1parse 2823.Op Fl asn1parse
2783.Op Fl certin 2824.Op Fl certin
2784.Op Fl decrypt 2825.Op Fl decrypt
@@ -2799,7 +2840,8 @@ Print the parameters in plain text.
2799.Op Fl sign 2840.Op Fl sign
2800.Op Fl verify 2841.Op Fl verify
2801.Op Fl verifyrecover 2842.Op Fl verifyrecover
2802.nr nS 0 2843.Ek
2844.El
2803.Pp 2845.Pp
2804The 2846The
2805.Nm pkeyutl 2847.Nm pkeyutl
@@ -2971,13 +3013,15 @@ Test if number
2971is prime. 3013is prime.
2972.El 3014.El
2973.Sh RAND 3015.Sh RAND
2974.nr nS 1 3016.Bl -hang -width "openssl rand"
2975.Nm "openssl rand" 3017.It Nm openssl rand
3018.Bk -words
2976.Op Fl base64 3019.Op Fl base64
2977.Op Fl hex 3020.Op Fl hex
2978.Op Fl out Ar file 3021.Op Fl out Ar file
2979.Ar num 3022.Ar num
2980.nr nS 0 3023.Ek
3024.El
2981.Pp 3025.Pp
2982The 3026The
2983.Nm rand 3027.Nm rand
@@ -2996,8 +3040,9 @@ The output file to write to,
2996or standard output if not specified. 3040or standard output if not specified.
2997.El 3041.El
2998.Sh REQ 3042.Sh REQ
2999.nr nS 1 3043.Bl -hang -width "openssl req"
3000.Nm "openssl req" 3044.It Nm openssl req
3045.Bk -words
3001.Op Fl asn1-kludge 3046.Op Fl asn1-kludge
3002.Op Fl batch 3047.Op Fl batch
3003.Op Fl config Ar file 3048.Op Fl config Ar file
@@ -3035,7 +3080,8 @@ or standard output if not specified.
3035.Op Fl verbose 3080.Op Fl verbose
3036.Op Fl verify 3081.Op Fl verify
3037.Op Fl x509 3082.Op Fl x509
3038.nr nS 0 3083.Ek
3084.El
3039.Pp 3085.Pp
3040The 3086The
3041.Nm req 3087.Nm req
@@ -3435,8 +3481,9 @@ options in the configuration file.
3435Any additional fields will be treated as though they were a 3481Any additional fields will be treated as though they were a
3436.Cm DirectoryString . 3482.Cm DirectoryString .
3437.Sh RSA 3483.Sh RSA
3438.nr nS 1 3484.Bl -hang -width "openssl rsa"
3439.Nm "openssl rsa" 3485.It Nm openssl rsa
3486.Bk -words
3440.Op Fl aes128 | aes192 | aes256 | des | des3 3487.Op Fl aes128 | aes192 | aes256 | des | des3
3441.Op Fl check 3488.Op Fl check
3442.Op Fl in Ar file 3489.Op Fl in Ar file
@@ -3454,7 +3501,8 @@ Any additional fields will be treated as though they were a
3454.Op Fl RSAPublicKey_out 3501.Op Fl RSAPublicKey_out
3455.Op Fl sgckey 3502.Op Fl sgckey
3456.Op Fl text 3503.Op Fl text
3457.nr nS 0 3504.Ek
3505.El
3458.Pp 3506.Pp
3459The 3507The
3460.Nm rsa 3508.Nm rsa
@@ -3530,8 +3578,9 @@ and SGC keys.
3530Print the public/private key components in plain text. 3578Print the public/private key components in plain text.
3531.El 3579.El
3532.Sh RSAUTL 3580.Sh RSAUTL
3533.nr nS 1 3581.Bl -hang -width "openssl rsautl"
3534.Nm "openssl rsautl" 3582.It Nm openssl rsautl
3583.Bk -words
3535.Op Fl asn1parse 3584.Op Fl asn1parse
3536.Op Fl certin 3585.Op Fl certin
3537.Op Fl decrypt 3586.Op Fl decrypt
@@ -3547,7 +3596,8 @@ Print the public/private key components in plain text.
3547.Op Fl rev 3596.Op Fl rev
3548.Op Fl sign 3597.Op Fl sign
3549.Op Fl verify 3598.Op Fl verify
3550.nr nS 0 3599.Ek
3600.El
3551.Pp 3601.Pp
3552The 3602The
3553.Nm rsautl 3603.Nm rsautl
@@ -3602,8 +3652,9 @@ This requires an RSA private key.
3602Verify the input data and output the recovered data. 3652Verify the input data and output the recovered data.
3603.El 3653.El
3604.Sh S_CLIENT 3654.Sh S_CLIENT
3605.nr nS 1 3655.Bl -hang -width "openssl s_client"
3606.Nm "openssl s_client" 3656.It Nm openssl s_client
3657.Bk -words
3607.Op Fl 4 | 6 3658.Op Fl 4 | 6
3608.Op Fl alpn Ar protocols 3659.Op Fl alpn Ar protocols
3609.Op Fl bugs 3660.Op Fl bugs
@@ -3667,7 +3718,8 @@ Verify the input data and output the recovered data.
3667.Op Fl verify_return_error 3718.Op Fl verify_return_error
3668.Op Fl x509_strict 3719.Op Fl x509_strict
3669.Op Fl xmpphost Ar host 3720.Op Fl xmpphost Ar host
3670.nr nS 0 3721.Ek
3722.El
3671.Pp 3723.Pp
3672The 3724The
3673.Nm s_client 3725.Nm s_client
@@ -3896,8 +3948,9 @@ If this option is not specified then the host specified with
3896will be used. 3948will be used.
3897.El 3949.El
3898.Sh S_SERVER 3950.Sh S_SERVER
3899.nr nS 1 3951.Bl -hang -width "openssl s_server"
3900.Nm "openssl s_server" 3952.It Nm openssl s_server
3953.Bk -words
3901.Op Fl accept Ar port 3954.Op Fl accept Ar port
3902.Op Fl alpn Ar protocols 3955.Op Fl alpn Ar protocols
3903.Op Fl bugs 3956.Op Fl bugs
@@ -3961,7 +4014,8 @@ will be used.
3961.Op Fl verify_return_error 4014.Op Fl verify_return_error
3962.Op Fl WWW 4015.Op Fl WWW
3963.Op Fl www 4016.Op Fl www
3964.nr nS 0 4017.Ek
4018.El
3965.Pp 4019.Pp
3966The 4020The
3967.Nm s_server 4021.Nm s_server
@@ -4199,8 +4253,9 @@ with
4199a certificate is requested but the client does not have to send one. 4253a certificate is requested but the client does not have to send one.
4200.El 4254.El
4201.Sh S_TIME 4255.Sh S_TIME
4202.nr nS 1 4256.Bl -hang -width "openssl s_time"
4203.Nm "openssl s_time" 4257.It Nm openssl s_time
4258.Bk -words
4204.Op Fl bugs 4259.Op Fl bugs
4205.Op Fl CAfile Ar file 4260.Op Fl CAfile Ar file
4206.Op Fl CApath Ar directory 4261.Op Fl CApath Ar directory
@@ -4215,7 +4270,8 @@ a certificate is requested but the client does not have to send one.
4215.Op Fl time Ar seconds 4270.Op Fl time Ar seconds
4216.Op Fl verify Ar depth 4271.Op Fl verify Ar depth
4217.Op Fl www Ar page 4272.Op Fl www Ar page
4218.nr nS 0 4273.Ek
4274.El
4219.Pp 4275.Pp
4220The 4276The
4221.Nm s_time 4277.Nm s_time
@@ -4307,8 +4363,9 @@ will only perform the handshake to establish SSL connections
4307but not transfer any payload data. 4363but not transfer any payload data.
4308.El 4364.El
4309.Sh SESS_ID 4365.Sh SESS_ID
4310.nr nS 1 4366.Bl -hang -width "openssl sess_id"
4311.Nm "openssl sess_id" 4367.It Nm openssl sess_id
4368.Bk -words
4312.Op Fl cert 4369.Op Fl cert
4313.Op Fl context Ar ID 4370.Op Fl context Ar ID
4314.Op Fl in Ar file 4371.Op Fl in Ar file
@@ -4317,7 +4374,8 @@ but not transfer any payload data.
4317.Op Fl out Ar file 4374.Op Fl out Ar file
4318.Op Fl outform Cm der | pem 4375.Op Fl outform Cm der | pem
4319.Op Fl text 4376.Op Fl text
4320.nr nS 0 4377.Ek
4378.El
4321.Pp 4379.Pp
4322The 4380The
4323.Nm sess_id 4381.Nm sess_id
@@ -4397,8 +4455,9 @@ application.
4397This is, however, strongly discouraged and should only be used for 4455This is, however, strongly discouraged and should only be used for
4398debugging purposes. 4456debugging purposes.
4399.Sh SMIME 4457.Sh SMIME
4400.nr nS 1 4458.Bl -hang -width "openssl smime"
4401.Nm "openssl smime" 4459.It Nm openssl smime
4460.Bk -words
4402.Oo 4461.Oo
4403.Fl aes128 | aes192 | aes256 | des | 4462.Fl aes128 | aes192 | aes256 | des |
4404.Fl des3 | rc2-40 | rc2-64 | rc2-128 4463.Fl des3 | rc2-40 | rc2-64 | rc2-128
@@ -4448,7 +4507,8 @@ debugging purposes.
4448.Op Fl verify 4507.Op Fl verify
4449.Op Fl x509_strict 4508.Op Fl x509_strict
4450.Op Ar cert.pem ... 4509.Op Ar cert.pem ...
4451.nr nS 0 4510.Ek
4511.El
4452.Pp 4512.Pp
4453The 4513The
4454.Nm smime 4514.Nm smime
@@ -4691,15 +4751,17 @@ An error occurred decrypting or verifying the message.
4691An error occurred writing certificates. 4751An error occurred writing certificates.
4692.El 4752.El
4693.Sh SPEED 4753.Sh SPEED
4694.nr nS 1 4754.Bl -hang -width "openssl speed"
4695.Nm "openssl speed" 4755.It Nm openssl speed
4756.Bk -words
4696.Op Ar algorithm 4757.Op Ar algorithm
4697.Op Fl decrypt 4758.Op Fl decrypt
4698.Op Fl elapsed 4759.Op Fl elapsed
4699.Op Fl evp Ar algorithm 4760.Op Fl evp Ar algorithm
4700.Op Fl mr 4761.Op Fl mr
4701.Op Fl multi Ar number 4762.Op Fl multi Ar number
4702.nr nS 0 4763.Ek
4764.El
4703.Pp 4765.Pp
4704The 4766The
4705.Nm speed 4767.Nm speed
@@ -4726,8 +4788,9 @@ Run
4726benchmarks in parallel. 4788benchmarks in parallel.
4727.El 4789.El
4728.Sh SPKAC 4790.Sh SPKAC
4729.nr nS 1 4791.Bl -hang -width "openssl spkac"
4730.Nm "openssl spkac" 4792.It Nm openssl spkac
4793.Bk -words
4731.Op Fl challenge Ar string 4794.Op Fl challenge Ar string
4732.Op Fl in Ar file 4795.Op Fl in Ar file
4733.Op Fl key Ar keyfile 4796.Op Fl key Ar keyfile
@@ -4738,7 +4801,8 @@ benchmarks in parallel.
4738.Op Fl spkac Ar spkacname 4801.Op Fl spkac Ar spkacname
4739.Op Fl spksect Ar section 4802.Op Fl spksect Ar section
4740.Op Fl verify 4803.Op Fl verify
4741.nr nS 0 4804.Ek
4805.El
4742.Pp 4806.Pp
4743The 4807The
4744.Nm spkac 4808.Nm spkac
@@ -4785,8 +4849,9 @@ containing the SPKAC.
4785Verify the digital signature on the supplied SPKAC. 4849Verify the digital signature on the supplied SPKAC.
4786.El 4850.El
4787.Sh TS 4851.Sh TS
4788.nr nS 1 4852.Bk -words
4789.Nm "openssl ts" 4853.Bl -hang -width "openssl ts"
4854.It Nm openssl ts
4790.Fl query 4855.Fl query
4791.Op Fl md4 | md5 | ripemd160 | sha1 4856.Op Fl md4 | md5 | ripemd160 | sha1
4792.Op Fl cert 4857.Op Fl cert
@@ -4798,10 +4863,7 @@ Verify the digital signature on the supplied SPKAC.
4798.Op Fl out Ar request.tsq 4863.Op Fl out Ar request.tsq
4799.Op Fl policy Ar object_id 4864.Op Fl policy Ar object_id
4800.Op Fl text 4865.Op Fl text
4801.nr nS 0 4866.It Nm openssl ts
4802.Pp
4803.nr nS 1
4804.Nm "openssl ts"
4805.Fl reply 4867.Fl reply
4806.Op Fl chain Ar certs_file.pem 4868.Op Fl chain Ar certs_file.pem
4807.Op Fl config Ar configfile 4869.Op Fl config Ar configfile
@@ -4816,10 +4878,7 @@ Verify the digital signature on the supplied SPKAC.
4816.Op Fl text 4878.Op Fl text
4817.Op Fl token_in 4879.Op Fl token_in
4818.Op Fl token_out 4880.Op Fl token_out
4819.nr nS 0 4881.It Nm openssl ts
4820.Pp
4821.nr nS 1
4822.Nm "openssl ts"
4823.Fl verify 4882.Fl verify
4824.Op Fl CAfile Ar trusted_certs.pem 4883.Op Fl CAfile Ar trusted_certs.pem
4825.Op Fl CApath Ar trusted_cert_path 4884.Op Fl CApath Ar trusted_cert_path
@@ -4829,7 +4888,8 @@ Verify the digital signature on the supplied SPKAC.
4829.Op Fl queryfile Ar request.tsq 4888.Op Fl queryfile Ar request.tsq
4830.Op Fl token_in 4889.Op Fl token_in
4831.Op Fl untrusted Ar cert_file.pem 4890.Op Fl untrusted Ar cert_file.pem
4832.nr nS 0 4891.El
4892.Ek
4833.Pp 4893.Pp
4834The 4894The
4835.Nm ts 4895.Nm ts
@@ -5151,8 +5211,9 @@ only the signing certificate identifier is included.
5151The default is no. 5211The default is no.
5152.El 5212.El
5153.Sh VERIFY 5213.Sh VERIFY
5154.nr nS 1 5214.Bl -hang -width "openssl verify"
5155.Nm "openssl verify" 5215.It Nm openssl verify
5216.Bk -words
5156.Op Fl CAfile Ar file 5217.Op Fl CAfile Ar file
5157.Op Fl CApath Ar directory 5218.Op Fl CApath Ar directory
5158.Op Fl check_ss_sig 5219.Op Fl check_ss_sig
@@ -5173,7 +5234,8 @@ The default is no.
5173.Op Fl verbose 5234.Op Fl verbose
5174.Op Fl x509_strict 5235.Op Fl x509_strict
5175.Op Ar certificates 5236.Op Ar certificates
5176.nr nS 0 5237.Ek
5238.El
5177.Pp 5239.Pp
5178The 5240The
5179.Nm verify 5241.Nm verify
@@ -5507,8 +5569,9 @@ The current
5507version. 5569version.
5508.El 5570.El
5509.Sh X509 5571.Sh X509
5510.nr nS 1 5572.Bl -hang -width "openssl x509"
5511.Nm "openssl x509" 5573.It Nm openssl x509
5574.Bk -words
5512.Op Fl C 5575.Op Fl C
5513.Op Fl addreject Ar arg 5576.Op Fl addreject Ar arg
5514.Op Fl addtrust Ar arg 5577.Op Fl addtrust Ar arg
@@ -5563,7 +5626,8 @@ version.
5563.Op Fl text 5626.Op Fl text
5564.Op Fl trustout 5627.Op Fl trustout
5565.Op Fl x509toreq 5628.Op Fl x509toreq
5566.nr nS 0 5629.Ek
5630.El
5567.Pp 5631.Pp
5568The 5632The
5569.Nm x509 5633.Nm x509