diff options
author | jmc <> | 2010-10-15 21:00:05 +0000 |
---|---|---|
committer | jmc <> | 2010-10-15 21:00:05 +0000 |
commit | 1a2cc90f6ce3267500c358b95b467fae3c28e0ee (patch) | |
tree | 488fb21f1f075a7b868c34f810313eacfb8d8d59 /src | |
parent | 497e295047a93876a573d3833770ea89a9373008 (diff) | |
download | openbsd-1a2cc90f6ce3267500c358b95b467fae3c28e0ee.tar.gz openbsd-1a2cc90f6ce3267500c358b95b467fae3c28e0ee.tar.bz2 openbsd-1a2cc90f6ce3267500c358b95b467fae3c28e0ee.zip |
nicer formatting for the various synopses;
Diffstat (limited to 'src')
-rw-r--r-- | src/usr.sbin/openssl/openssl.1 | 620 |
1 files changed, 344 insertions, 276 deletions
diff --git a/src/usr.sbin/openssl/openssl.1 b/src/usr.sbin/openssl/openssl.1 index 9934bb6a10..04c87c4b3d 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.80 2010/10/15 18:17:10 jmc Exp $ | 1 | .\" $OpenBSD: openssl.1,v 1.81 2010/10/15 21:00:05 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 | .\" |
@@ -204,7 +204,7 @@ list all cipher and message digest names, | |||
204 | one entry per line. | 204 | one entry per line. |
205 | Aliases are listed as: | 205 | Aliases are listed as: |
206 | .Pp | 206 | .Pp |
207 | .D1 from => to | 207 | .D1 from =\*(Gt to |
208 | .Pp | 208 | .Pp |
209 | The pseudo-command | 209 | The pseudo-command |
210 | .Cm list-public-key-algorithms | 210 | .Cm list-public-key-algorithms |
@@ -489,22 +489,24 @@ Read the password from standard input. | |||
489 | .\" ASN1PARSE | 489 | .\" ASN1PARSE |
490 | .\" | 490 | .\" |
491 | .Sh ASN1PARSE | 491 | .Sh ASN1PARSE |
492 | .Nm openssl asn1parse | 492 | .nr nS 1 |
493 | .Nm "openssl asn1parse" | ||
493 | .Bk -words | 494 | .Bk -words |
494 | .Op Fl dump | ||
495 | .Op Fl i | 495 | .Op Fl i |
496 | .Op Fl noout | ||
497 | .Op Fl dlimit Ar number | 496 | .Op Fl dlimit Ar number |
497 | .Op Fl dump | ||
498 | .Op Fl genconf Ar file | 498 | .Op Fl genconf Ar file |
499 | .Op Fl genstr Ar str | 499 | .Op Fl genstr Ar str |
500 | .Op Fl in Ar file | 500 | .Op Fl in Ar file |
501 | .Op Fl inform Ar DER | PEM | TXT | 501 | .Op Fl inform Ar DER | PEM | TXT |
502 | .Op Fl length Ar number | 502 | .Op Fl length Ar number |
503 | .Op Fl noout | ||
503 | .Op Fl offset Ar number | 504 | .Op Fl offset Ar number |
504 | .Op Fl oid Ar file | 505 | .Op Fl oid Ar file |
505 | .Op Fl out Ar file | 506 | .Op Fl out Ar file |
506 | .Op Fl strparse Ar offset | 507 | .Op Fl strparse Ar offset |
507 | .Ek | 508 | .Ek |
509 | .nr nS 0 | ||
508 | .Pp | 510 | .Pp |
509 | The | 511 | The |
510 | .Nm asn1parse | 512 | .Nm asn1parse |
@@ -670,17 +672,10 @@ The output of some ASN.1 types is not well handled | |||
670 | .\" CA | 672 | .\" CA |
671 | .\" | 673 | .\" |
672 | .Sh CA | 674 | .Sh CA |
673 | .Nm openssl ca | 675 | .nr nS 1 |
676 | .Nm "openssl ca" | ||
674 | .Bk -words | 677 | .Bk -words |
675 | .Op Fl batch | 678 | .Op Fl batch |
676 | .Op Fl gencrl | ||
677 | .Op Fl infiles | ||
678 | .Op Fl msie_hack | ||
679 | .Op Fl noemailDN | ||
680 | .Op Fl notext | ||
681 | .Op Fl preserveDN | ||
682 | .Op Fl updatedb | ||
683 | .Op Fl verbose | ||
684 | .Op Fl cert Ar file | 679 | .Op Fl cert Ar file |
685 | .Op Fl config Ar file | 680 | .Op Fl config Ar file |
686 | .Op Fl crl_CA_compromise Ar time | 681 | .Op Fl crl_CA_compromise Ar time |
@@ -695,23 +690,32 @@ The output of some ASN.1 types is not well handled | |||
695 | .Op Fl engine Ar id | 690 | .Op Fl engine Ar id |
696 | .Op Fl extensions Ar section | 691 | .Op Fl extensions Ar section |
697 | .Op Fl extfile Ar section | 692 | .Op Fl extfile Ar section |
693 | .Op Fl gencrl | ||
698 | .Op Fl in Ar file | 694 | .Op Fl in Ar file |
695 | .Op Fl infiles | ||
699 | .Op Fl key Ar keyfile | 696 | .Op Fl key Ar keyfile |
700 | .Op Fl keyfile Ar arg | 697 | .Op Fl keyfile Ar arg |
701 | .Op Fl keyform Ar ENGINE | PEM | 698 | .Op Fl keyform Ar ENGINE | PEM |
702 | .Op Fl md Ar arg | 699 | .Op Fl md Ar arg |
700 | .Op Fl msie_hack | ||
703 | .Op Fl name Ar section | 701 | .Op Fl name Ar section |
702 | .Op Fl noemailDN | ||
703 | .Op Fl notext | ||
704 | .Op Fl out Ar file | 704 | .Op Fl out Ar file |
705 | .Op Fl outdir Ar dir | 705 | .Op Fl outdir Ar dir |
706 | .Op Fl passin Ar arg | 706 | .Op Fl passin Ar arg |
707 | .Op Fl policy Ar arg | 707 | .Op Fl policy Ar arg |
708 | .Op Fl preserveDN | ||
708 | .Op Fl revoke Ar file | 709 | .Op Fl revoke Ar file |
709 | .Op Fl spkac Ar file | 710 | .Op Fl spkac Ar file |
710 | .Op Fl ss_cert Ar file | 711 | .Op Fl ss_cert Ar file |
711 | .Op Fl startdate Ar date | 712 | .Op Fl startdate Ar date |
712 | .Op Fl status Ar serial | 713 | .Op Fl status Ar serial |
713 | .Op Fl subj Ar arg | 714 | .Op Fl subj Ar arg |
715 | .Op Fl updatedb | ||
716 | .Op Fl verbose | ||
714 | .Ek | 717 | .Ek |
718 | .nr nS 0 | ||
715 | .Pp | 719 | .Pp |
716 | The | 720 | The |
717 | .Nm ca | 721 | .Nm ca |
@@ -1782,22 +1786,24 @@ command was added in | |||
1782 | .\" CRL | 1786 | .\" CRL |
1783 | .\" | 1787 | .\" |
1784 | .Sh CRL | 1788 | .Sh CRL |
1785 | .Nm openssl crl | 1789 | .nr nS 1 |
1790 | .Nm "openssl crl" | ||
1786 | .Bk -words | 1791 | .Bk -words |
1792 | .Op Fl CAfile Ar file | ||
1793 | .Op Fl CApath Ar dir | ||
1787 | .Op Fl fingerprint | 1794 | .Op Fl fingerprint |
1788 | .Op Fl hash | 1795 | .Op Fl hash |
1796 | .Op Fl in Ar file | ||
1797 | .Op Fl inform Ar DER | PEM | ||
1789 | .Op Fl issuer | 1798 | .Op Fl issuer |
1790 | .Op Fl lastupdate | 1799 | .Op Fl lastupdate |
1791 | .Op Fl nextupdate | 1800 | .Op Fl nextupdate |
1792 | .Op Fl noout | 1801 | .Op Fl noout |
1793 | .Op Fl text | ||
1794 | .Op Fl CAfile Ar file | ||
1795 | .Op Fl CApath Ar dir | ||
1796 | .Op Fl in Ar file | ||
1797 | .Op Fl inform Ar DER | PEM | ||
1798 | .Op Fl out Ar file | 1802 | .Op Fl out Ar file |
1799 | .Op Fl outform Ar DER | PEM | 1803 | .Op Fl outform Ar DER | PEM |
1804 | .Op Fl text | ||
1800 | .Ek | 1805 | .Ek |
1806 | .nr nS 0 | ||
1801 | .Pp | 1807 | .Pp |
1802 | The | 1808 | The |
1803 | .Nm crl | 1809 | .Nm crl |
@@ -1873,15 +1879,17 @@ and files too. | |||
1873 | .\" CRL2PKCS7 | 1879 | .\" CRL2PKCS7 |
1874 | .\" | 1880 | .\" |
1875 | .Sh CRL2PKCS7 | 1881 | .Sh CRL2PKCS7 |
1876 | .Nm openssl crl2pkcs7 | 1882 | .nr nS 1 |
1883 | .Nm "openssl crl2pkcs7" | ||
1877 | .Bk -words | 1884 | .Bk -words |
1878 | .Op Fl nocrl | ||
1879 | .Op Fl certfile Ar file | 1885 | .Op Fl certfile Ar file |
1880 | .Op Fl in Ar file | 1886 | .Op Fl in Ar file |
1881 | .Op Fl inform Ar DER | PEM | 1887 | .Op Fl inform Ar DER | PEM |
1888 | .Op Fl nocrl | ||
1882 | .Op Fl out Ar file | 1889 | .Op Fl out Ar file |
1883 | .Op Fl outform Ar DER | PEM | 1890 | .Op Fl outform Ar DER | PEM |
1884 | .Ek | 1891 | .Ek |
1892 | .nr nS 0 | ||
1885 | .Pp | 1893 | .Pp |
1886 | The | 1894 | The |
1887 | .Nm crl2pkcs7 | 1895 | .Nm crl2pkcs7 |
@@ -1953,7 +1961,8 @@ install user certificates and CAs in MSIE using the Xenroll control. | |||
1953 | .\" DGST | 1961 | .\" DGST |
1954 | .\" | 1962 | .\" |
1955 | .Sh DGST | 1963 | .Sh DGST |
1956 | .Nm openssl dgst | 1964 | .nr nS 1 |
1965 | .Nm "openssl dgst" | ||
1957 | .Bk -words | 1966 | .Bk -words |
1958 | .Oo | 1967 | .Oo |
1959 | .Fl dss1 | md2 | md4 | md5 | | 1968 | .Fl dss1 | md2 | md4 | md5 | |
@@ -1961,9 +1970,9 @@ install user certificates and CAs in MSIE using the Xenroll control. | |||
1961 | .Oc | 1970 | .Oc |
1962 | .Op Fl binary | 1971 | .Op Fl binary |
1963 | .Op Fl cd | 1972 | .Op Fl cd |
1973 | .Op Fl engine Ar id | ||
1964 | .Op Fl hex | 1974 | .Op Fl hex |
1965 | .Op Fl hmac Ar key | 1975 | .Op Fl hmac Ar key |
1966 | .Op Fl engine Ar id | ||
1967 | .Op Fl keyform Ar ENGINE | PEM | 1976 | .Op Fl keyform Ar ENGINE | PEM |
1968 | .Op Fl mac Ar algorithm | 1977 | .Op Fl mac Ar algorithm |
1969 | .Op Fl macopt Ar nm : Ns Ar v | 1978 | .Op Fl macopt Ar nm : Ns Ar v |
@@ -1977,6 +1986,7 @@ install user certificates and CAs in MSIE using the Xenroll control. | |||
1977 | .Op Fl verify Ar file | 1986 | .Op Fl verify Ar file |
1978 | .Op Ar | 1987 | .Op Ar |
1979 | .Ek | 1988 | .Ek |
1989 | .nr nS 0 | ||
1980 | .Pp | 1990 | .Pp |
1981 | .Nm openssl | 1991 | .Nm openssl |
1982 | .Xo | 1992 | .Xo |
@@ -2117,22 +2127,24 @@ below. | |||
2117 | .\" DHPARAM | 2127 | .\" DHPARAM |
2118 | .\" | 2128 | .\" |
2119 | .Sh DHPARAM | 2129 | .Sh DHPARAM |
2120 | .Nm openssl dhparam | 2130 | .nr nS 1 |
2131 | .Nm "openssl dhparam" | ||
2121 | .Bk -words | 2132 | .Bk -words |
2122 | .Op Fl 2 | 5 | 2133 | .Op Fl 2 | 5 |
2123 | .Op Fl C | 2134 | .Op Fl C |
2124 | .Op Fl check | 2135 | .Op Fl check |
2125 | .Op Fl dsaparam | 2136 | .Op Fl dsaparam |
2126 | .Op Fl noout | ||
2127 | .Op Fl text | ||
2128 | .Op Fl engine Ar id | 2137 | .Op Fl engine Ar id |
2129 | .Op Fl in Ar file | 2138 | .Op Fl in Ar file |
2130 | .Op Fl inform Ar DER | PEM | 2139 | .Op Fl inform Ar DER | PEM |
2140 | .Op Fl noout | ||
2131 | .Op Fl out Ar file | 2141 | .Op Fl out Ar file |
2132 | .Op Fl outform Ar DER | PEM | 2142 | .Op Fl outform Ar DER | PEM |
2133 | .Op Fl rand Ar | 2143 | .Op Fl rand Ar |
2144 | .Op Fl text | ||
2134 | .Op Ar numbits | 2145 | .Op Ar numbits |
2135 | .Ek | 2146 | .Ek |
2147 | .nr nS 0 | ||
2136 | .Pp | 2148 | .Pp |
2137 | The | 2149 | The |
2138 | .Nm dhparam | 2150 | .Nm dhparam |
@@ -2268,25 +2280,27 @@ option was added in | |||
2268 | .\" DSA | 2280 | .\" DSA |
2269 | .\" | 2281 | .\" |
2270 | .Sh DSA | 2282 | .Sh DSA |
2271 | .Nm openssl dsa | 2283 | .nr nS 1 |
2284 | .Nm "openssl dsa" | ||
2272 | .Bk -words | 2285 | .Bk -words |
2273 | .Oo | 2286 | .Oo |
2274 | .Fl aes128 | aes192 | aes256 | | 2287 | .Fl aes128 | aes192 | aes256 | |
2275 | .Fl des | des3 | 2288 | .Fl des | des3 |
2276 | .Oc | 2289 | .Oc |
2277 | .Op Fl modulus | ||
2278 | .Op Fl noout | ||
2279 | .Op Fl pubin | ||
2280 | .Op Fl pubout | ||
2281 | .Op Fl text | ||
2282 | .Op Fl engine Ar id | 2290 | .Op Fl engine Ar id |
2283 | .Op Fl in Ar file | 2291 | .Op Fl in Ar file |
2284 | .Op Fl inform Ar DER | PEM | 2292 | .Op Fl inform Ar DER | PEM |
2293 | .Op Fl modulus | ||
2294 | .Op Fl noout | ||
2285 | .Op Fl out Ar file | 2295 | .Op Fl out Ar file |
2286 | .Op Fl outform Ar DER | PEM | 2296 | .Op Fl outform Ar DER | PEM |
2287 | .Op Fl passin Ar arg | 2297 | .Op Fl passin Ar arg |
2288 | .Op Fl passout Ar arg | 2298 | .Op Fl passout Ar arg |
2299 | .Op Fl pubin | ||
2300 | .Op Fl pubout | ||
2301 | .Op Fl text | ||
2289 | .Ek | 2302 | .Ek |
2303 | .nr nS 0 | ||
2290 | .Pp | 2304 | .Pp |
2291 | The | 2305 | The |
2292 | .Nm dsa | 2306 | .Nm dsa |
@@ -2427,20 +2441,22 @@ To just output the public part of a private key: | |||
2427 | .\" DSAPARAM | 2441 | .\" DSAPARAM |
2428 | .\" | 2442 | .\" |
2429 | .Sh DSAPARAM | 2443 | .Sh DSAPARAM |
2430 | .Nm openssl dsaparam | 2444 | .nr nS 1 |
2445 | .Nm "openssl dsaparam" | ||
2431 | .Bk -words | 2446 | .Bk -words |
2432 | .Op Fl C | 2447 | .Op Fl C |
2433 | .Op Fl genkey | ||
2434 | .Op Fl noout | ||
2435 | .Op Fl text | ||
2436 | .Op Fl engine Ar id | 2448 | .Op Fl engine Ar id |
2449 | .Op Fl genkey | ||
2437 | .Op Fl in Ar file | 2450 | .Op Fl in Ar file |
2438 | .Op Fl inform Ar DER | PEM | 2451 | .Op Fl inform Ar DER | PEM |
2452 | .Op Fl noout | ||
2439 | .Op Fl out Ar file | 2453 | .Op Fl out Ar file |
2440 | .Op Fl outform Ar DER | PEM | 2454 | .Op Fl outform Ar DER | PEM |
2441 | .Op Fl rand Ar | 2455 | .Op Fl rand Ar |
2456 | .Op Fl text | ||
2442 | .Op Ar numbits | 2457 | .Op Ar numbits |
2443 | .Ek | 2458 | .Ek |
2459 | .nr nS 0 | ||
2444 | .Pp | 2460 | .Pp |
2445 | The | 2461 | The |
2446 | .Nm dsaparam | 2462 | .Nm dsaparam |
@@ -2525,25 +2541,27 @@ DSA parameters is often used to generate several distinct keys. | |||
2525 | .\" EC | 2541 | .\" EC |
2526 | .\" | 2542 | .\" |
2527 | .Sh EC | 2543 | .Sh EC |
2528 | .Nm openssl ec | 2544 | .nr nS 1 |
2545 | .Nm "openssl ec" | ||
2529 | .Bk -words | 2546 | .Bk -words |
2547 | .Op Fl conv_form Ar arg | ||
2530 | .Op Fl des | 2548 | .Op Fl des |
2531 | .Op Fl des3 | 2549 | .Op Fl des3 |
2532 | .Op Fl noout | ||
2533 | .Op Fl param_out | ||
2534 | .Op Fl pubin | ||
2535 | .Op Fl pubout | ||
2536 | .Op Fl text | ||
2537 | .Op Fl conv_form Ar arg | ||
2538 | .Op Fl engine Ar id | 2550 | .Op Fl engine Ar id |
2539 | .Op Fl in Ar filename | 2551 | .Op Fl in Ar filename |
2540 | .Op Fl inform Ar PEM|DER | 2552 | .Op Fl inform Ar PEM|DER |
2553 | .Op Fl noout | ||
2541 | .Op Fl out Ar filename | 2554 | .Op Fl out Ar filename |
2542 | .Op Fl outform Ar PEM|DER | 2555 | .Op Fl outform Ar PEM|DER |
2543 | .Op Fl param_enc Ar arg | 2556 | .Op Fl param_enc Ar arg |
2557 | .Op Fl param_out | ||
2544 | .Op Fl passin Ar arg | 2558 | .Op Fl passin Ar arg |
2545 | .Op Fl passout Ar arg | 2559 | .Op Fl passout Ar arg |
2560 | .Op Fl pubin | ||
2561 | .Op Fl pubout | ||
2562 | .Op Fl text | ||
2546 | .Ek | 2563 | .Ek |
2564 | .nr nS 0 | ||
2547 | .Pp | 2565 | .Pp |
2548 | The | 2566 | The |
2549 | .Nm ec | 2567 | .Nm ec |
@@ -2563,7 +2581,7 @@ command. | |||
2563 | .Pp | 2581 | .Pp |
2564 | The options are as follows: | 2582 | The options are as follows: |
2565 | .Bl -tag -width Ds | 2583 | .Bl -tag -width Ds |
2566 | .It Fl conv_form | 2584 | .It Fl conv_form Ar arg |
2567 | This specifies how the points on the elliptic curve are converted | 2585 | This specifies how the points on the elliptic curve are converted |
2568 | into octet strings. | 2586 | into octet strings. |
2569 | Possible values are: | 2587 | Possible values are: |
@@ -2729,25 +2747,27 @@ command was first introduced in | |||
2729 | .\" ECPARAM | 2747 | .\" ECPARAM |
2730 | .\" | 2748 | .\" |
2731 | .Sh ECPARAM | 2749 | .Sh ECPARAM |
2732 | .Nm openssl ecparam | 2750 | .nr nS 1 |
2751 | .Nm "openssl ecparam" | ||
2733 | .Bk -words | 2752 | .Bk -words |
2734 | .Op Fl C | 2753 | .Op Fl C |
2735 | .Op Fl check | 2754 | .Op Fl check |
2736 | .Op Fl genkey | ||
2737 | .Op Fl list_curves | ||
2738 | .Op Fl no_seed | ||
2739 | .Op Fl noout | ||
2740 | .Op Fl text | ||
2741 | .Op Fl conv_form Ar arg | 2755 | .Op Fl conv_form Ar arg |
2742 | .Op Fl engine Ar id | 2756 | .Op Fl engine Ar id |
2757 | .Op Fl genkey | ||
2743 | .Op Fl in Ar filename | 2758 | .Op Fl in Ar filename |
2744 | .Op Fl inform Ar DER | PEM | 2759 | .Op Fl inform Ar DER | PEM |
2760 | .Op Fl list_curves | ||
2745 | .Op Fl name Ar arg | 2761 | .Op Fl name Ar arg |
2762 | .Op Fl no_seed | ||
2763 | .Op Fl noout | ||
2746 | .Op Fl out Ar filename | 2764 | .Op Fl out Ar filename |
2747 | .Op Fl outform Ar DER | PEM | 2765 | .Op Fl outform Ar DER | PEM |
2748 | .Op Fl param_enc Ar arg | 2766 | .Op Fl param_enc Ar arg |
2749 | .Op Fl rand Ar file ... | 2767 | .Op Fl rand Ar file ... |
2768 | .Op Fl text | ||
2750 | .Ek | 2769 | .Ek |
2770 | .nr nS 0 | ||
2751 | .Pp | 2771 | .Pp |
2752 | This command is used to manipulate or generate EC parameter files. | 2772 | This command is used to manipulate or generate EC parameter files. |
2753 | .Pp | 2773 | .Pp |
@@ -2908,17 +2928,14 @@ command was first introduced in | |||
2908 | .\" ENC | 2928 | .\" ENC |
2909 | .\" | 2929 | .\" |
2910 | .Sh ENC | 2930 | .Sh ENC |
2911 | .Nm openssl enc | 2931 | .nr nS 1 |
2932 | .Nm "openssl enc" | ||
2912 | .Bk -words | 2933 | .Bk -words |
2913 | .Fl ciphername | 2934 | .Fl ciphername |
2914 | .Op Fl AadePp | 2935 | .Op Fl AadePp |
2915 | .Op Fl base64 | 2936 | .Op Fl base64 |
2916 | .Op Fl debug | ||
2917 | .Op Fl none | ||
2918 | .Op Fl nopad | ||
2919 | .Op Fl nosalt | ||
2920 | .Op Fl salt | ||
2921 | .Op Fl bufsize Ar number | 2937 | .Op Fl bufsize Ar number |
2938 | .Op Fl debug | ||
2922 | .Op Fl engine Ar id | 2939 | .Op Fl engine Ar id |
2923 | .Op Fl in Ar file | 2940 | .Op Fl in Ar file |
2924 | .Op Fl iv Ar IV | 2941 | .Op Fl iv Ar IV |
@@ -2926,10 +2943,15 @@ command was first introduced in | |||
2926 | .Op Fl k Ar password | 2943 | .Op Fl k Ar password |
2927 | .Op Fl kfile Ar file | 2944 | .Op Fl kfile Ar file |
2928 | .Op Fl md Ar digest | 2945 | .Op Fl md Ar digest |
2946 | .Op Fl none | ||
2947 | .Op Fl nopad | ||
2948 | .Op Fl nosalt | ||
2929 | .Op Fl out Ar file | 2949 | .Op Fl out Ar file |
2930 | .Op Fl pass Ar arg | 2950 | .Op Fl pass Ar arg |
2931 | .Op Fl S Ar salt | 2951 | .Op Fl S Ar salt |
2952 | .Op Fl salt | ||
2932 | .Ek | 2953 | .Ek |
2954 | .nr nS 0 | ||
2933 | .Pp | 2955 | .Pp |
2934 | The symmetric cipher commands allow data to be encrypted or decrypted | 2956 | The symmetric cipher commands allow data to be encrypted or decrypted |
2935 | using various block and stream ciphers using keys based on passwords | 2957 | using various block and stream ciphers using keys based on passwords |
@@ -3364,7 +3386,8 @@ above. | |||
3364 | .\" GENDSA | 3386 | .\" GENDSA |
3365 | .\" | 3387 | .\" |
3366 | .Sh GENDSA | 3388 | .Sh GENDSA |
3367 | .Nm openssl gendsa | 3389 | .nr nS 1 |
3390 | .Nm "openssl gendsa" | ||
3368 | .Bk -words | 3391 | .Bk -words |
3369 | .Oo | 3392 | .Oo |
3370 | .Fl aes128 | aes192 | aes256 | | 3393 | .Fl aes128 | aes192 | aes256 | |
@@ -3375,6 +3398,7 @@ above. | |||
3375 | .Op Fl rand Ar | 3398 | .Op Fl rand Ar |
3376 | .Op Ar paramfile | 3399 | .Op Ar paramfile |
3377 | .Ek | 3400 | .Ek |
3401 | .nr nS 0 | ||
3378 | .Pp | 3402 | .Pp |
3379 | The | 3403 | The |
3380 | .Nm gendsa | 3404 | .Nm gendsa |
@@ -3405,18 +3429,18 @@ The engine will then be set as the default for all available algorithms. | |||
3405 | The output | 3429 | The output |
3406 | .Ar file . | 3430 | .Ar file . |
3407 | If this argument is not specified, standard output is used. | 3431 | If this argument is not specified, standard output is used. |
3408 | .It Ar paramfile | ||
3409 | This option specifies the DSA parameter file to use. | ||
3410 | The parameters in this file determine the size of the private key. | ||
3411 | DSA parameters can be generated and examined using the | ||
3412 | .Nm openssl dsaparam | ||
3413 | command. | ||
3414 | .It Fl rand Ar | 3432 | .It Fl rand Ar |
3415 | A file or files containing random data used to seed the random number | 3433 | A file or files containing random data used to seed the random number |
3416 | generator, or an EGD socket (see | 3434 | generator, or an EGD socket (see |
3417 | .Xr RAND_egd 3 ) . | 3435 | .Xr RAND_egd 3 ) . |
3418 | Multiple files can be specified separated by a | 3436 | Multiple files can be specified separated by a |
3419 | .Sq \&: . | 3437 | .Sq \&: . |
3438 | .It Ar paramfile | ||
3439 | This option specifies the DSA parameter file to use. | ||
3440 | The parameters in this file determine the size of the private key. | ||
3441 | DSA parameters can be generated and examined using the | ||
3442 | .Nm openssl dsaparam | ||
3443 | command. | ||
3420 | .El | 3444 | .El |
3421 | .Sh GENDSA NOTES | 3445 | .Sh GENDSA NOTES |
3422 | DSA key generation is little more than random number generation so it is | 3446 | DSA key generation is little more than random number generation so it is |
@@ -3425,19 +3449,21 @@ much quicker than RSA key generation, for example. | |||
3425 | .\" GENPKEY | 3449 | .\" GENPKEY |
3426 | .\" | 3450 | .\" |
3427 | .Sh GENPKEY | 3451 | .Sh GENPKEY |
3428 | .Nm openssl genpkey | 3452 | .nr nS 1 |
3453 | .Nm "openssl genpkey" | ||
3429 | .Bk -words | 3454 | .Bk -words |
3430 | .Op Ar cipher | ||
3431 | .Op Fl genparam | ||
3432 | .Op Fl pass Ar arg | ||
3433 | .Op Fl text | ||
3434 | .Op Fl algorithm Ar alg | 3455 | .Op Fl algorithm Ar alg |
3456 | .Op Ar cipher | ||
3435 | .Op Fl engine Ar id | 3457 | .Op Fl engine Ar id |
3458 | .Op Fl genparam | ||
3436 | .Op Fl out Ar filename | 3459 | .Op Fl out Ar filename |
3437 | .Op Fl outform Ar DER | PEM | 3460 | .Op Fl outform Ar DER | PEM |
3438 | .Op Fl paramfile Ar file | 3461 | .Op Fl paramfile Ar file |
3462 | .Op Fl pass Ar arg | ||
3439 | .Op Fl pkeyopt Ar opt : Ns Ar value | 3463 | .Op Fl pkeyopt Ar opt : Ns Ar value |
3464 | .Op Fl text | ||
3440 | .Ek | 3465 | .Ek |
3466 | .nr nS 0 | ||
3441 | .Pp | 3467 | .Pp |
3442 | The | 3468 | The |
3443 | .Nm genpkey | 3469 | .Nm genpkey |
@@ -3597,19 +3623,21 @@ $ openssl genpkey -paramfile dhp.pem -out dhkey.pem | |||
3597 | .\" GENRSA | 3623 | .\" GENRSA |
3598 | .\" | 3624 | .\" |
3599 | .Sh GENRSA | 3625 | .Sh GENRSA |
3600 | .Nm openssl genrsa | 3626 | .nr nS 1 |
3627 | .Nm "openssl genrsa" | ||
3601 | .Bk -words | 3628 | .Bk -words |
3629 | .Op Fl 3 | f4 | ||
3602 | .Oo | 3630 | .Oo |
3603 | .Fl aes128 | aes192 | aes256 | | 3631 | .Fl aes128 | aes192 | aes256 | |
3604 | .Fl des | des3 | 3632 | .Fl des | des3 |
3605 | .Oc | 3633 | .Oc |
3606 | .Op Fl engine Ar id | 3634 | .Op Fl engine Ar id |
3607 | .Op Fl 3 | f4 | ||
3608 | .Op Fl out Ar file | 3635 | .Op Fl out Ar file |
3609 | .Op Fl passout Ar arg | 3636 | .Op Fl passout Ar arg |
3610 | .Op Fl rand Ar | 3637 | .Op Fl rand Ar |
3611 | .Op Ar numbits | 3638 | .Op Ar numbits |
3612 | .Ek | 3639 | .Ek |
3640 | .nr nS 0 | ||
3613 | .Pp | 3641 | .Pp |
3614 | The | 3642 | The |
3615 | .Nm genrsa | 3643 | .Nm genrsa |
@@ -3617,6 +3645,9 @@ command generates an RSA private key. | |||
3617 | .Pp | 3645 | .Pp |
3618 | The options are as follows: | 3646 | The options are as follows: |
3619 | .Bl -tag -width "XXXX" | 3647 | .Bl -tag -width "XXXX" |
3648 | .It Fl 3 | f4 | ||
3649 | The public exponent to use, either 3 or 65537. | ||
3650 | The default is 65537. | ||
3620 | .It Xo | 3651 | .It Xo |
3621 | .Fl aes128 | aes192 | aes256 | | 3652 | .Fl aes128 | aes192 | aes256 | |
3622 | .Fl des | des3 | 3653 | .Fl des | des3 |
@@ -3636,13 +3667,6 @@ string) will cause | |||
3636 | to attempt to obtain a functional reference to the specified engine, | 3667 | to attempt to obtain a functional reference to the specified engine, |
3637 | thus initialising it if needed. | 3668 | thus initialising it if needed. |
3638 | The engine will then be set as the default for all available algorithms. | 3669 | The engine will then be set as the default for all available algorithms. |
3639 | .It Fl 3 | f4 | ||
3640 | The public exponent to use, either 3 or 65537. | ||
3641 | The default is 65537. | ||
3642 | .It Ar numbits | ||
3643 | The size of the private key to generate in bits. | ||
3644 | This must be the last option specified. | ||
3645 | The default is 512. | ||
3646 | .It Fl out Ar file | 3670 | .It Fl out Ar file |
3647 | The output | 3671 | The output |
3648 | .Ar file . | 3672 | .Ar file . |
@@ -3661,6 +3685,10 @@ generator, or an EGD socket (see | |||
3661 | .Xr RAND_egd 3 ) . | 3685 | .Xr RAND_egd 3 ) . |
3662 | Multiple files can be specified separated by a | 3686 | Multiple files can be specified separated by a |
3663 | .Sq \&: . | 3687 | .Sq \&: . |
3688 | .It Ar numbits | ||
3689 | The size of the private key to generate in bits. | ||
3690 | This must be the last option specified. | ||
3691 | The default is 512. | ||
3664 | .El | 3692 | .El |
3665 | .Sh GENRSA NOTES | 3693 | .Sh GENRSA NOTES |
3666 | RSA private key generation essentially involves the generation of two prime | 3694 | RSA private key generation essentially involves the generation of two prime |
@@ -3689,9 +3717,9 @@ they will be much larger | |||
3689 | .\" | 3717 | .\" |
3690 | .Sh NSEQ | 3718 | .Sh NSEQ |
3691 | .Nm openssl nseq | 3719 | .Nm openssl nseq |
3692 | .Op Fl toseq | ||
3693 | .Op Fl in Ar file | 3720 | .Op Fl in Ar file |
3694 | .Op Fl out Ar file | 3721 | .Op Fl out Ar file |
3722 | .Op Fl toseq | ||
3695 | .Pp | 3723 | .Pp |
3696 | The | 3724 | The |
3697 | .Nm nseq | 3725 | .Nm nseq |
@@ -3748,23 +3776,9 @@ and allowing multiple certificate files to be used. | |||
3748 | .\" OCSP | 3776 | .\" OCSP |
3749 | .\" | 3777 | .\" |
3750 | .Sh OCSP | 3778 | .Sh OCSP |
3751 | .Nm openssl ocsp | 3779 | .nr nS 1 |
3780 | .Nm "openssl ocsp" | ||
3752 | .Bk -words | 3781 | .Bk -words |
3753 | .Op Fl no_cert_checks | ||
3754 | .Op Fl no_cert_verify | ||
3755 | .Op Fl no_certs | ||
3756 | .Op Fl no_chain | ||
3757 | .Op Fl no_intern | ||
3758 | .Op Fl no_nonce | ||
3759 | .Op Fl no_signature_verify | ||
3760 | .Op Fl nonce | ||
3761 | .Op Fl noverify | ||
3762 | .Op Fl req_text | ||
3763 | .Op Fl resp_key_id | ||
3764 | .Op Fl resp_no_certs | ||
3765 | .Op Fl resp_text | ||
3766 | .Op Fl text | ||
3767 | .Op Fl trust_other | ||
3768 | .Op Fl CA Ar file | 3782 | .Op Fl CA Ar file |
3769 | .Op Fl CAfile Ar file | 3783 | .Op Fl CAfile Ar file |
3770 | .Op Fl CApath Ar directory | 3784 | .Op Fl CApath Ar directory |
@@ -3778,12 +3792,25 @@ and allowing multiple certificate files to be used. | |||
3778 | .Op Fl issuer Ar file | 3792 | .Op Fl issuer Ar file |
3779 | .Op Fl ndays Ar days | 3793 | .Op Fl ndays Ar days |
3780 | .Op Fl nmin Ar minutes | 3794 | .Op Fl nmin Ar minutes |
3795 | .Op Fl no_cert_checks | ||
3796 | .Op Fl no_cert_verify | ||
3797 | .Op Fl no_certs | ||
3798 | .Op Fl no_chain | ||
3799 | .Op Fl no_intern | ||
3800 | .Op Fl no_nonce | ||
3801 | .Op Fl no_signature_verify | ||
3802 | .Op Fl nonce | ||
3803 | .Op Fl noverify | ||
3781 | .Op Fl nrequest Ar number | 3804 | .Op Fl nrequest Ar number |
3782 | .Op Fl out Ar file | 3805 | .Op Fl out Ar file |
3783 | .Op Fl path Ar path | 3806 | .Op Fl path Ar path |
3784 | .Op Fl port Ar portnum | 3807 | .Op Fl port Ar portnum |
3808 | .Op Fl req_text | ||
3785 | .Op Fl reqin Ar file | 3809 | .Op Fl reqin Ar file |
3786 | .Op Fl reqout Ar file | 3810 | .Op Fl reqout Ar file |
3811 | .Op Fl resp_key_id | ||
3812 | .Op Fl resp_no_certs | ||
3813 | .Op Fl resp_text | ||
3787 | .Op Fl respin Ar file | 3814 | .Op Fl respin Ar file |
3788 | .Op Fl respout Ar file | 3815 | .Op Fl respout Ar file |
3789 | .Op Fl rkey Ar file | 3816 | .Op Fl rkey Ar file |
@@ -3794,11 +3821,14 @@ and allowing multiple certificate files to be used. | |||
3794 | .Op Fl signer Ar file | 3821 | .Op Fl signer Ar file |
3795 | .Op Fl signkey Ar file | 3822 | .Op Fl signkey Ar file |
3796 | .Op Fl status_age Ar age | 3823 | .Op Fl status_age Ar age |
3824 | .Op Fl text | ||
3825 | .Op Fl trust_other | ||
3797 | .Op Fl url Ar responder_url | 3826 | .Op Fl url Ar responder_url |
3798 | .Op Fl VAfile Ar file | 3827 | .Op Fl VAfile Ar file |
3799 | .Op Fl validity_period Ar nsec | 3828 | .Op Fl validity_period Ar nsec |
3800 | .Op Fl verify_other Ar file | 3829 | .Op Fl verify_other Ar file |
3801 | .Ek | 3830 | .Ek |
3831 | .nr nS 0 | ||
3802 | .Pp | 3832 | .Pp |
3803 | The Online Certificate Status Protocol | 3833 | The Online Certificate Status Protocol |
3804 | .Pq OCSP | 3834 | .Pq OCSP |
@@ -4218,16 +4248,18 @@ $ openssl ocsp -index demoCA/index.txt -rsigner rcert.pem -CA \e | |||
4218 | .\" PASSWD | 4248 | .\" PASSWD |
4219 | .\" | 4249 | .\" |
4220 | .Sh PASSWD | 4250 | .Sh PASSWD |
4221 | .Nm openssl passwd | 4251 | .nr nS 1 |
4252 | .Nm "openssl passwd" | ||
4222 | .Op Fl 1 | apr1 | crypt | 4253 | .Op Fl 1 | apr1 | crypt |
4254 | .Op Fl in Ar file | ||
4223 | .Op Fl noverify | 4255 | .Op Fl noverify |
4224 | .Op Fl quiet | 4256 | .Op Fl quiet |
4225 | .Op Fl reverse | 4257 | .Op Fl reverse |
4258 | .Op Fl salt Ar string | ||
4226 | .Op Fl stdin | 4259 | .Op Fl stdin |
4227 | .Op Fl table | 4260 | .Op Fl table |
4228 | .Op Fl in Ar file | ||
4229 | .Op Fl salt Ar string | ||
4230 | .Op Ar password | 4261 | .Op Ar password |
4262 | .nr nS 0 | ||
4231 | .Pp | 4263 | .Pp |
4232 | The | 4264 | The |
4233 | .Nm passwd | 4265 | .Nm passwd |
@@ -4311,17 +4343,19 @@ prints | |||
4311 | .\" PKCS7 | 4343 | .\" PKCS7 |
4312 | .\" | 4344 | .\" |
4313 | .Sh PKCS7 | 4345 | .Sh PKCS7 |
4314 | .Nm openssl pkcs7 | 4346 | .nr nS 1 |
4347 | .Nm "openssl pkcs7" | ||
4315 | .Bk -words | 4348 | .Bk -words |
4316 | .Op Fl noout | ||
4317 | .Op Fl print_certs | ||
4318 | .Op Fl text | ||
4319 | .Op Fl engine Ar id | 4349 | .Op Fl engine Ar id |
4320 | .Op Fl in Ar file | 4350 | .Op Fl in Ar file |
4321 | .Op Fl inform Ar DER | PEM | 4351 | .Op Fl inform Ar DER | PEM |
4352 | .Op Fl noout | ||
4322 | .Op Fl out Ar file | 4353 | .Op Fl out Ar file |
4323 | .Op Fl outform Ar DER | PEM | 4354 | .Op Fl outform Ar DER | PEM |
4355 | .Op Fl print_certs | ||
4356 | .Op Fl text | ||
4324 | .Ek | 4357 | .Ek |
4358 | .nr nS 0 | ||
4325 | .Pp | 4359 | .Pp |
4326 | The | 4360 | The |
4327 | .Nm pkcs7 | 4361 | .Nm pkcs7 |
@@ -4397,24 +4431,26 @@ They cannot currently parse, for example, the new CMS as described in RFC 2630. | |||
4397 | .\" PKCS8 | 4431 | .\" PKCS8 |
4398 | .\" | 4432 | .\" |
4399 | .Sh PKCS8 | 4433 | .Sh PKCS8 |
4400 | .Nm openssl pkcs8 | 4434 | .nr nS 1 |
4435 | .Nm "openssl pkcs8" | ||
4401 | .Bk -words | 4436 | .Bk -words |
4402 | .Op Fl embed | 4437 | .Op Fl embed |
4438 | .Op Fl engine Ar id | ||
4439 | .Op Fl in Ar file | ||
4440 | .Op Fl inform Ar DER | PEM | ||
4403 | .Op Fl nocrypt | 4441 | .Op Fl nocrypt |
4404 | .Op Fl noiter | 4442 | .Op Fl noiter |
4405 | .Op Fl nooct | 4443 | .Op Fl nooct |
4406 | .Op Fl nsdb | 4444 | .Op Fl nsdb |
4407 | .Op Fl topk8 | ||
4408 | .Op Fl engine Ar id | ||
4409 | .Op Fl in Ar file | ||
4410 | .Op Fl inform Ar DER | PEM | ||
4411 | .Op Fl out Ar file | 4445 | .Op Fl out Ar file |
4412 | .Op Fl outform Ar DER | PEM | 4446 | .Op Fl outform Ar DER | PEM |
4413 | .Op Fl passin Ar arg | 4447 | .Op Fl passin Ar arg |
4414 | .Op Fl passout Ar arg | 4448 | .Op Fl passout Ar arg |
4449 | .Op Fl topk8 | ||
4415 | .Op Fl v1 Ar alg | 4450 | .Op Fl v1 Ar alg |
4416 | .Op Fl v2 Ar alg | 4451 | .Op Fl v2 Ar alg |
4417 | .Ek | 4452 | .Ek |
4453 | .nr nS 0 | ||
4418 | .Pp | 4454 | .Pp |
4419 | The | 4455 | The |
4420 | .Nm pkcs8 | 4456 | .Nm pkcs8 |
@@ -4648,6 +4684,7 @@ compatibility, several of the utilities use the old format at present. | |||
4648 | .\" PKCS12 | 4684 | .\" PKCS12 |
4649 | .\" | 4685 | .\" |
4650 | .Sh PKCS12 | 4686 | .Sh PKCS12 |
4687 | .nr nS 1 | ||
4651 | .Nm "openssl pkcs12" | 4688 | .Nm "openssl pkcs12" |
4652 | .Bk -words | 4689 | .Bk -words |
4653 | .Oo | 4690 | .Oo |
@@ -4655,14 +4692,26 @@ compatibility, several of the utilities use the old format at present. | |||
4655 | .Fl des | des3 | 4692 | .Fl des | des3 |
4656 | .Oc | 4693 | .Oc |
4657 | .Op Fl cacerts | 4694 | .Op Fl cacerts |
4695 | .Op Fl CAfile Ar file | ||
4696 | .Op Fl caname Ar name | ||
4697 | .Op Fl CApath Ar directory | ||
4698 | .Op Fl certfile Ar file | ||
4699 | .Op Fl certpbe Ar alg | ||
4658 | .Op Fl chain | 4700 | .Op Fl chain |
4659 | .Op Fl clcerts | 4701 | .Op Fl clcerts |
4702 | .Op Fl CSP Ar name | ||
4660 | .Op Fl descert | 4703 | .Op Fl descert |
4704 | .Op Fl engine Ar id | ||
4661 | .Op Fl export | 4705 | .Op Fl export |
4706 | .Op Fl in Ar file | ||
4662 | .Op Fl info | 4707 | .Op Fl info |
4708 | .Op Fl inkey Ar file | ||
4663 | .Op Fl keyex | 4709 | .Op Fl keyex |
4710 | .Op Fl keypbe Ar alg | ||
4664 | .Op Fl keysig | 4711 | .Op Fl keysig |
4712 | .Op Fl macalg Ar alg | ||
4665 | .Op Fl maciter | 4713 | .Op Fl maciter |
4714 | .Op Fl name Ar name | ||
4666 | .Op Fl nocerts | 4715 | .Op Fl nocerts |
4667 | .Op Fl nodes | 4716 | .Op Fl nodes |
4668 | .Op Fl noiter | 4717 | .Op Fl noiter |
@@ -4671,24 +4720,13 @@ compatibility, several of the utilities use the old format at present. | |||
4671 | .Op Fl nomaciter | 4720 | .Op Fl nomaciter |
4672 | .Op Fl nomacver | 4721 | .Op Fl nomacver |
4673 | .Op Fl noout | 4722 | .Op Fl noout |
4674 | .Op Fl twopass | ||
4675 | .Op Fl CAfile Ar file | ||
4676 | .Op Fl CApath Ar directory | ||
4677 | .Op Fl caname Ar name | ||
4678 | .Op Fl certfile Ar file | ||
4679 | .Op Fl certpbe Ar alg | ||
4680 | .Op Fl CSP Ar name | ||
4681 | .Op Fl engine Ar id | ||
4682 | .Op Fl in Ar file | ||
4683 | .Op Fl inkey Ar file | ||
4684 | .Op Fl keypbe Ar alg | ||
4685 | .Op Fl macalg Ar alg | ||
4686 | .Op Fl name Ar name | ||
4687 | .Op Fl out Ar file | 4723 | .Op Fl out Ar file |
4688 | .Op Fl passin Ar arg | 4724 | .Op Fl passin Ar arg |
4689 | .Op Fl passout Ar arg | 4725 | .Op Fl passout Ar arg |
4690 | .Op Fl rand Ar | 4726 | .Op Fl rand Ar |
4727 | .Op Fl twopass | ||
4691 | .Ek | 4728 | .Ek |
4729 | .nr nS 0 | ||
4692 | .Pp | 4730 | .Pp |
4693 | The | 4731 | The |
4694 | .Nm pkcs12 | 4732 | .Nm pkcs12 |
@@ -5031,22 +5069,24 @@ $ openssl -in keycerts.pem -export -name "My PKCS#12 file" \e | |||
5031 | .\" PKEY | 5069 | .\" PKEY |
5032 | .\" | 5070 | .\" |
5033 | .Sh PKEY | 5071 | .Sh PKEY |
5034 | .Cm openssl pkey | 5072 | .nr nS 1 |
5073 | .Nm "openssl pkey" | ||
5035 | .Bk -words | 5074 | .Bk -words |
5036 | .Op Ar cipher | 5075 | .Op Ar cipher |
5037 | .Op Fl noout | ||
5038 | .Op Fl pubin | ||
5039 | .Op Fl pubout | ||
5040 | .Op Fl text | ||
5041 | .Op Fl text_pub | ||
5042 | .Op Fl engine Ar id | 5076 | .Op Fl engine Ar id |
5043 | .Op Fl in Ar file | 5077 | .Op Fl in Ar file |
5044 | .Op Fl inform Ar DER | PEM | 5078 | .Op Fl inform Ar DER | PEM |
5079 | .Op Fl noout | ||
5045 | .Op Fl out Ar file | 5080 | .Op Fl out Ar file |
5046 | .Op Fl outform Ar DER | PEM | 5081 | .Op Fl outform Ar DER | PEM |
5047 | .Op Fl passin Ar arg | 5082 | .Op Fl passin Ar arg |
5048 | .Op Fl passout Ar arg | 5083 | .Op Fl passout Ar arg |
5084 | .Op Fl pubin | ||
5085 | .Op Fl pubout | ||
5086 | .Op Fl text | ||
5087 | .Op Fl text_pub | ||
5049 | .Ek | 5088 | .Ek |
5089 | .nr nS 0 | ||
5050 | .Pp | 5090 | .Pp |
5051 | The | 5091 | The |
5052 | .Nm pkey | 5092 | .Nm pkey |
@@ -5156,11 +5196,11 @@ $ openssl pkey -in key.pem -pubout -out pubkey.pem | |||
5156 | .\" | 5196 | .\" |
5157 | .Sh PKEYPARAM | 5197 | .Sh PKEYPARAM |
5158 | .Cm openssl pkeyparam | 5198 | .Cm openssl pkeyparam |
5159 | .Op Fl noout | ||
5160 | .Op Fl text | ||
5161 | .Op Fl engine Ar id | 5199 | .Op Fl engine Ar id |
5162 | .Op Fl in Ar file | 5200 | .Op Fl in Ar file |
5201 | .Op Fl noout | ||
5163 | .Op Fl out Ar file | 5202 | .Op Fl out Ar file |
5203 | .Op Fl text | ||
5164 | .Pp | 5204 | .Pp |
5165 | The | 5205 | The |
5166 | .Nm pkey | 5206 | .Nm pkey |
@@ -5205,20 +5245,16 @@ because the key type is determined by the PEM headers. | |||
5205 | .\" PKEYUTL | 5245 | .\" PKEYUTL |
5206 | .\" | 5246 | .\" |
5207 | .Sh PKEYUTL | 5247 | .Sh PKEYUTL |
5208 | .Cm openssl pkeyutl | 5248 | .nr nS 1 |
5249 | .Nm "openssl pkeyutl" | ||
5209 | .Bk -words | 5250 | .Bk -words |
5210 | .Op Fl asn1parse | 5251 | .Op Fl asn1parse |
5211 | .Op Fl certin | 5252 | .Op Fl certin |
5212 | .Op Fl decrypt | 5253 | .Op Fl decrypt |
5213 | .Op Fl derive | 5254 | .Op Fl derive |
5214 | .Op Fl encrypt | 5255 | .Op Fl encrypt |
5215 | .Op Fl hexdump | ||
5216 | .Op Fl pubin | ||
5217 | .Op Fl rev | ||
5218 | .Op Fl sign | ||
5219 | .Op Fl verify | ||
5220 | .Op Fl verifyrecover | ||
5221 | .Op Fl engine Ar id | 5256 | .Op Fl engine Ar id |
5257 | .Op Fl hexdump | ||
5222 | .Op Fl in Ar file | 5258 | .Op Fl in Ar file |
5223 | .Op Fl inkey Ar file | 5259 | .Op Fl inkey Ar file |
5224 | .Op Fl keyform Ar DER | PEM | 5260 | .Op Fl keyform Ar DER | PEM |
@@ -5227,8 +5263,14 @@ because the key type is determined by the PEM headers. | |||
5227 | .Op Fl peerform Ar DER | PEM | 5263 | .Op Fl peerform Ar DER | PEM |
5228 | .Op Fl peerkey Ar file | 5264 | .Op Fl peerkey Ar file |
5229 | .Op Fl pkeyopt Ar opt : Ns Ar value | 5265 | .Op Fl pkeyopt Ar opt : Ns Ar value |
5266 | .Op Fl pubin | ||
5267 | .Op Fl rev | ||
5230 | .Op Fl sigfile Ar file | 5268 | .Op Fl sigfile Ar file |
5269 | .Op Fl sign | ||
5270 | .Op Fl verify | ||
5271 | .Op Fl verifyrecover | ||
5231 | .Ek | 5272 | .Ek |
5273 | .nr nS 0 | ||
5232 | .Pp | 5274 | .Pp |
5233 | The | 5275 | The |
5234 | .Nm pkeyutl | 5276 | .Nm pkeyutl |
@@ -5414,11 +5456,11 @@ $ openssl pkeyutl -derive -inkey key.pem \e | |||
5414 | .\" | 5456 | .\" |
5415 | .Sh PRIME | 5457 | .Sh PRIME |
5416 | .Cm openssl prime | 5458 | .Cm openssl prime |
5459 | .Op Fl bits Ar n | ||
5460 | .Op Fl checks Ar n | ||
5417 | .Op Fl generate | 5461 | .Op Fl generate |
5418 | .Op Fl hex | 5462 | .Op Fl hex |
5419 | .Op Fl safe | 5463 | .Op Fl safe |
5420 | .Op Fl bits Ar n | ||
5421 | .Op Fl checks Ar n | ||
5422 | .Ar p | 5464 | .Ar p |
5423 | .Pp | 5465 | .Pp |
5424 | The | 5466 | The |
@@ -5460,13 +5502,15 @@ is prime. | |||
5460 | .\" RAND | 5502 | .\" RAND |
5461 | .\" | 5503 | .\" |
5462 | .Sh RAND | 5504 | .Sh RAND |
5463 | .Cm openssl rand | 5505 | .nr nS 1 |
5506 | .Nm "openssl rand" | ||
5464 | .Op Fl base64 | 5507 | .Op Fl base64 |
5465 | .Op Fl hex | ||
5466 | .Op Fl engine Ar id | 5508 | .Op Fl engine Ar id |
5509 | .Op Fl hex | ||
5467 | .Op Fl out Ar file | 5510 | .Op Fl out Ar file |
5468 | .Op Fl rand Ar | 5511 | .Op Fl rand Ar |
5469 | .Ar num | 5512 | .Ar num |
5513 | .nr nS 0 | ||
5470 | .Pp | 5514 | .Pp |
5471 | The | 5515 | The |
5472 | .Nm rand | 5516 | .Nm rand |
@@ -5521,24 +5565,11 @@ Multiple files can be specified separated by a | |||
5521 | .\" REQ | 5565 | .\" REQ |
5522 | .\" | 5566 | .\" |
5523 | .Sh REQ | 5567 | .Sh REQ |
5524 | .Nm openssl req | 5568 | .nr nS 1 |
5569 | .Nm "openssl req" | ||
5525 | .Bk -words | 5570 | .Bk -words |
5526 | .Op Fl asn1-kludge | 5571 | .Op Fl asn1-kludge |
5527 | .Op Fl batch | 5572 | .Op Fl batch |
5528 | .Op Fl md4 | md5 | sha1 | ||
5529 | .Op Fl modulus | ||
5530 | .Op Fl new | ||
5531 | .Op Fl newhdr | ||
5532 | .Op Fl no-asn1-kludge | ||
5533 | .Op Fl nodes | ||
5534 | .Op Fl noout | ||
5535 | .Op Fl pubkey | ||
5536 | .Op Fl subject | ||
5537 | .Op Fl text | ||
5538 | .Op Fl utf8 | ||
5539 | .Op Fl verbose | ||
5540 | .Op Fl verify | ||
5541 | .Op Fl x509 | ||
5542 | .Op Fl config Ar file | 5573 | .Op Fl config Ar file |
5543 | .Op Fl days Ar n | 5574 | .Op Fl days Ar n |
5544 | .Op Fl engine Ar id | 5575 | .Op Fl engine Ar id |
@@ -5548,18 +5579,33 @@ Multiple files can be specified separated by a | |||
5548 | .Op Fl key Ar keyfile | 5579 | .Op Fl key Ar keyfile |
5549 | .Op Fl keyform Ar DER | PEM | 5580 | .Op Fl keyform Ar DER | PEM |
5550 | .Op Fl keyout Ar file | 5581 | .Op Fl keyout Ar file |
5582 | .Op Fl md4 | md5 | sha1 | ||
5583 | .Op Fl modulus | ||
5551 | .Op Fl nameopt Ar option | 5584 | .Op Fl nameopt Ar option |
5585 | .Op Fl new | ||
5586 | .Op Fl newhdr | ||
5552 | .Op Fl newkey Ar arg | 5587 | .Op Fl newkey Ar arg |
5588 | .Op Fl no-asn1-kludge | ||
5589 | .Op Fl nodes | ||
5590 | .Op Fl noout | ||
5553 | .Op Fl out Ar file | 5591 | .Op Fl out Ar file |
5554 | .Op Fl outform Ar DER | PEM | 5592 | .Op Fl outform Ar DER | PEM |
5555 | .Op Fl passin Ar arg | 5593 | .Op Fl passin Ar arg |
5556 | .Op Fl passout Ar arg | 5594 | .Op Fl passout Ar arg |
5595 | .Op Fl pubkey | ||
5557 | .Op Fl rand Ar | 5596 | .Op Fl rand Ar |
5558 | .Op Fl reqexts Ar section | 5597 | .Op Fl reqexts Ar section |
5559 | .Op Fl reqopt Ar option | 5598 | .Op Fl reqopt Ar option |
5560 | .Op Fl set_serial Ar n | 5599 | .Op Fl set_serial Ar n |
5561 | .Op Fl subj Ar arg | 5600 | .Op Fl subj Ar arg |
5601 | .Op Fl subject | ||
5602 | .Op Fl text | ||
5603 | .Op Fl utf8 | ||
5604 | .Op Fl verbose | ||
5605 | .Op Fl verify | ||
5606 | .Op Fl x509 | ||
5562 | .Ek | 5607 | .Ek |
5608 | .nr nS 0 | ||
5563 | .Pp | 5609 | .Pp |
5564 | The | 5610 | The |
5565 | .Nm req | 5611 | .Nm req |
@@ -6297,26 +6343,28 @@ should be input by the user. | |||
6297 | .\" RSA | 6343 | .\" RSA |
6298 | .\" | 6344 | .\" |
6299 | .Sh RSA | 6345 | .Sh RSA |
6300 | .Cm openssl rsa | 6346 | .nr nS 1 |
6347 | .Nm "openssl rsa" | ||
6301 | .Bk -words | 6348 | .Bk -words |
6302 | .Oo | 6349 | .Oo |
6303 | .Fl aes128 | aes192 | aes256 | | 6350 | .Fl aes128 | aes192 | aes256 | |
6304 | .Fl des | des3 | 6351 | .Fl des | des3 |
6305 | .Oc | 6352 | .Oc |
6306 | .Op Fl check | 6353 | .Op Fl check |
6307 | .Op Fl modulus | ||
6308 | .Op Fl noout | ||
6309 | .Op Fl pubin | ||
6310 | .Op Fl pubout | ||
6311 | .Op Fl sgckey | ||
6312 | .Op Fl text | ||
6313 | .Op Fl engine Ar id | 6354 | .Op Fl engine Ar id |
6314 | .Op Fl in Ar file | 6355 | .Op Fl in Ar file |
6315 | .Op Fl inform Ar DER | NET | PEM | 6356 | .Op Fl inform Ar DER | NET | PEM |
6357 | .Op Fl modulus | ||
6358 | .Op Fl noout | ||
6316 | .Op Fl out Ar file | 6359 | .Op Fl out Ar file |
6317 | .Op Fl outform Ar DER | NET | PEM | 6360 | .Op Fl outform Ar DER | NET | PEM |
6318 | .Op Fl passin Ar arg | 6361 | .Op Fl passin Ar arg |
6319 | .Op Fl passout Ar arg | 6362 | .Op Fl passout Ar arg |
6363 | .Op Fl pubin | ||
6364 | .Op Fl pubout | ||
6365 | .Op Fl sgckey | ||
6366 | .Op Fl text | ||
6367 | .nr nS 0 | ||
6320 | .Ek | 6368 | .Ek |
6321 | .Pp | 6369 | .Pp |
6322 | The | 6370 | The |
@@ -6493,23 +6541,25 @@ without having to manually edit them. | |||
6493 | .\" RSAUTL | 6541 | .\" RSAUTL |
6494 | .\" | 6542 | .\" |
6495 | .Sh RSAUTL | 6543 | .Sh RSAUTL |
6496 | .Nm openssl rsautl | 6544 | .nr nS 1 |
6545 | .Nm "openssl rsautl" | ||
6497 | .Bk -words | 6546 | .Bk -words |
6498 | .Op Fl asn1parse | 6547 | .Op Fl asn1parse |
6499 | .Op Fl certin | 6548 | .Op Fl certin |
6500 | .Op Fl decrypt | 6549 | .Op Fl decrypt |
6501 | .Op Fl encrypt | 6550 | .Op Fl encrypt |
6502 | .Op Fl hexdump | ||
6503 | .Op Fl oaep | pkcs | raw | ssl | ||
6504 | .Op Fl pubin | ||
6505 | .Op Fl sign | ||
6506 | .Op Fl verify | ||
6507 | .Op Fl engine Ar id | 6551 | .Op Fl engine Ar id |
6552 | .Op Fl hexdump | ||
6508 | .Op Fl in Ar file | 6553 | .Op Fl in Ar file |
6509 | .Op Fl inkey Ar file | 6554 | .Op Fl inkey Ar file |
6510 | .Op Fl keyform Ar DER | PEM | 6555 | .Op Fl keyform Ar DER | PEM |
6556 | .Op Fl oaep | pkcs | raw | ssl | ||
6511 | .Op Fl out Ar file | 6557 | .Op Fl out Ar file |
6558 | .Op Fl pubin | ||
6559 | .Op Fl sign | ||
6560 | .Op Fl verify | ||
6512 | .Ek | 6561 | .Ek |
6562 | .nr nS 0 | ||
6513 | .Pp | 6563 | .Pp |
6514 | The | 6564 | The |
6515 | .Nm rsautl | 6565 | .Nm rsautl |
@@ -6675,19 +6725,30 @@ which it can be seen agrees with the recovered value above. | |||
6675 | .\" S_CLIENT | 6725 | .\" S_CLIENT |
6676 | .\" | 6726 | .\" |
6677 | .Sh S_CLIENT | 6727 | .Sh S_CLIENT |
6678 | .Nm openssl s_client | 6728 | .nr nS 1 |
6729 | .Nm "openssl s_client" | ||
6679 | .Bk -words | 6730 | .Bk -words |
6680 | .Op Fl 4 | 6 | 6731 | .Op Fl 4 | 6 |
6681 | .Op Fl bugs | 6732 | .Op Fl bugs |
6733 | .Op Fl CAfile Ar file | ||
6734 | .Op Fl CApath Ar directory | ||
6735 | .Op Fl cert Ar file | ||
6682 | .Op Fl check_ss_sig | 6736 | .Op Fl check_ss_sig |
6737 | .Op Fl cipher Ar cipherlist | ||
6738 | .Oo | ||
6739 | .Fl connect Ar host : Ns Ar port | | ||
6740 | .Ar host Ns / Ns Ar port | ||
6741 | .Oc | ||
6683 | .Op Fl crl_check | 6742 | .Op Fl crl_check |
6684 | .Op Fl crl_check_all | 6743 | .Op Fl crl_check_all |
6685 | .Op Fl crlf | 6744 | .Op Fl crlf |
6686 | .Op Fl debug | 6745 | .Op Fl debug |
6746 | .Op Fl engine Ar id | ||
6687 | .Op Fl extended_crl | 6747 | .Op Fl extended_crl |
6688 | .Op Fl ign_eof | 6748 | .Op Fl ign_eof |
6689 | .Op Fl ignore_critical | 6749 | .Op Fl ignore_critical |
6690 | .Op Fl issuer_checks | 6750 | .Op Fl issuer_checks |
6751 | .Op Fl key Ar keyfile | ||
6691 | .Op Fl msg | 6752 | .Op Fl msg |
6692 | .Op Fl nbio | 6753 | .Op Fl nbio |
6693 | .Op Fl nbio_test | 6754 | .Op Fl nbio_test |
@@ -6698,32 +6759,23 @@ which it can be seen agrees with the recovered value above. | |||
6698 | .Op Fl pause | 6759 | .Op Fl pause |
6699 | .Op Fl policy_check | 6760 | .Op Fl policy_check |
6700 | .Op Fl prexit | 6761 | .Op Fl prexit |
6762 | .Op Fl psk Ar key | ||
6763 | .Op Fl psk_identity Ar identity | ||
6701 | .Op Fl quiet | 6764 | .Op Fl quiet |
6765 | .Op Fl rand Ar | ||
6702 | .Op Fl reconnect | 6766 | .Op Fl reconnect |
6703 | .Op Fl serverpref | 6767 | .Op Fl serverpref |
6704 | .Op Fl showcerts | 6768 | .Op Fl showcerts |
6705 | .Op Fl ssl2 | 6769 | .Op Fl ssl2 |
6706 | .Op Fl ssl3 | 6770 | .Op Fl ssl3 |
6771 | .Op Fl starttls Ar protocol | ||
6707 | .Op Fl state | 6772 | .Op Fl state |
6708 | .Op Fl tls1 | 6773 | .Op Fl tls1 |
6709 | .Op Fl tlsextdebug | 6774 | .Op Fl tlsextdebug |
6710 | .Op Fl x509_strict | ||
6711 | .Op Fl CAfile Ar file | ||
6712 | .Op Fl CApath Ar directory | ||
6713 | .Op Fl cert Ar file | ||
6714 | .Op Fl cipher Ar cipherlist | ||
6715 | .Oo | ||
6716 | .Fl connect Ar host : Ns Ar port | | ||
6717 | .Ar host Ns / Ns Ar port | ||
6718 | .Oc | ||
6719 | .Op Fl engine Ar id | ||
6720 | .Op Fl key Ar keyfile | ||
6721 | .Op Fl psk Ar key | ||
6722 | .Op Fl psk_identity Ar identity | ||
6723 | .Op Fl rand Ar | ||
6724 | .Op Fl starttls Ar protocol | ||
6725 | .Op Fl verify Ar depth | 6775 | .Op Fl verify Ar depth |
6776 | .Op Fl x509_strict | ||
6726 | .Ek | 6777 | .Ek |
6778 | .nr nS 0 | ||
6727 | .Pp | 6779 | .Pp |
6728 | The | 6780 | The |
6729 | .Nm s_client | 6781 | .Nm s_client |
@@ -6997,15 +7049,28 @@ We should really report information whenever a session is renegotiated. | |||
6997 | .\" S_SERVER | 7049 | .\" S_SERVER |
6998 | .\" | 7050 | .\" |
6999 | .Sh S_SERVER | 7051 | .Sh S_SERVER |
7000 | .Nm openssl s_server | 7052 | .nr nS 1 |
7053 | .Nm "openssl s_server" | ||
7001 | .Bk -words | 7054 | .Bk -words |
7055 | .Op Fl accept Ar port | ||
7002 | .Op Fl bugs | 7056 | .Op Fl bugs |
7057 | .Op Fl CAfile Ar file | ||
7058 | .Op Fl CApath Ar directory | ||
7059 | .Op Fl cert Ar file | ||
7060 | .Op Fl cipher Ar cipherlist | ||
7061 | .Op Fl context Ar id | ||
7003 | .Op Fl crl_check | 7062 | .Op Fl crl_check |
7004 | .Op Fl crl_check_all | 7063 | .Op Fl crl_check_all |
7005 | .Op Fl crlf | 7064 | .Op Fl crlf |
7065 | .Op Fl dcert Ar file | ||
7006 | .Op Fl debug | 7066 | .Op Fl debug |
7067 | .Op Fl dhparam Ar file | ||
7068 | .Op Fl dkey Ar file | ||
7069 | .Op Fl engine Ar id | ||
7007 | .Op Fl hack | 7070 | .Op Fl hack |
7008 | .Op Fl HTTP | 7071 | .Op Fl HTTP |
7072 | .Op Fl id_prefix Ar arg | ||
7073 | .Op Fl key Ar keyfile | ||
7009 | .Op Fl msg | 7074 | .Op Fl msg |
7010 | .Op Fl nbio | 7075 | .Op Fl nbio |
7011 | .Op Fl nbio_test | 7076 | .Op Fl nbio_test |
@@ -7015,32 +7080,21 @@ We should really report information whenever a session is renegotiated. | |||
7015 | .Op Fl no_tls1 | 7080 | .Op Fl no_tls1 |
7016 | .Op Fl no_tmp_rsa | 7081 | .Op Fl no_tmp_rsa |
7017 | .Op Fl nocert | 7082 | .Op Fl nocert |
7083 | .Op Fl psk Ar key | ||
7084 | .Op Fl psk_hint Ar hint | ||
7018 | .Op Fl quiet | 7085 | .Op Fl quiet |
7086 | .Op Fl rand Ar | ||
7019 | .Op Fl serverpref | 7087 | .Op Fl serverpref |
7020 | .Op Fl ssl2 | 7088 | .Op Fl ssl2 |
7021 | .Op Fl ssl3 | 7089 | .Op Fl ssl3 |
7022 | .Op Fl state | 7090 | .Op Fl state |
7023 | .Op Fl tls1 | 7091 | .Op Fl tls1 |
7024 | .Op Fl WWW | ||
7025 | .Op Fl www | ||
7026 | .Op Fl accept Ar port | ||
7027 | .Op Fl CAfile Ar file | ||
7028 | .Op Fl CApath Ar directory | ||
7029 | .Op Fl cert Ar file | ||
7030 | .Op Fl cipher Ar cipherlist | ||
7031 | .Op Fl context Ar id | ||
7032 | .Op Fl dcert Ar file | ||
7033 | .Op Fl dhparam Ar file | ||
7034 | .Op Fl dkey Ar file | ||
7035 | .Op Fl engine Ar id | ||
7036 | .Op Fl id_prefix Ar arg | ||
7037 | .Op Fl key Ar keyfile | ||
7038 | .Op Fl rand Ar | ||
7039 | .Op Fl psk Ar key | ||
7040 | .Op Fl psk_hint Ar hint | ||
7041 | .Op Fl Verify Ar depth | 7092 | .Op Fl Verify Ar depth |
7042 | .Op Fl verify Ar depth | 7093 | .Op Fl verify Ar depth |
7094 | .Op Fl WWW | ||
7095 | .Op Fl www | ||
7043 | .Ek | 7096 | .Ek |
7097 | .nr nS 0 | ||
7044 | .Pp | 7098 | .Pp |
7045 | The | 7099 | The |
7046 | .Nm s_server | 7100 | .Nm s_server |
@@ -7304,24 +7358,26 @@ unknown cipher suites a client says it supports. | |||
7304 | .\" S_TIME | 7358 | .\" S_TIME |
7305 | .\" | 7359 | .\" |
7306 | .Sh S_TIME | 7360 | .Sh S_TIME |
7307 | .Nm openssl s_time | 7361 | .nr nS 1 |
7362 | .Nm "openssl s_time" | ||
7308 | .Bk -words | 7363 | .Bk -words |
7309 | .Op Fl bugs | 7364 | .Op Fl bugs |
7310 | .Op Fl nbio | ||
7311 | .Op Fl new | ||
7312 | .Op Fl reuse | ||
7313 | .Op Fl ssl2 | ||
7314 | .Op Fl ssl3 | ||
7315 | .Op Fl CAfile Ar file | 7365 | .Op Fl CAfile Ar file |
7316 | .Op Fl CApath Ar directory | 7366 | .Op Fl CApath Ar directory |
7317 | .Op Fl cert Ar file | 7367 | .Op Fl cert Ar file |
7318 | .Op Fl cipher Ar cipherlist | 7368 | .Op Fl cipher Ar cipherlist |
7319 | .Op Fl connect Ar host : Ns Ar port | 7369 | .Op Fl connect Ar host : Ns Ar port |
7320 | .Op Fl key Ar keyfile | 7370 | .Op Fl key Ar keyfile |
7371 | .Op Fl nbio | ||
7372 | .Op Fl new | ||
7373 | .Op Fl reuse | ||
7374 | .Op Fl ssl2 | ||
7375 | .Op Fl ssl3 | ||
7321 | .Op Fl time Ar seconds | 7376 | .Op Fl time Ar seconds |
7322 | .Op Fl verify Ar depth | 7377 | .Op Fl verify Ar depth |
7323 | .Op Fl www Ar page | 7378 | .Op Fl www Ar page |
7324 | .Ek | 7379 | .Ek |
7380 | .nr nS 0 | ||
7325 | .Pp | 7381 | .Pp |
7326 | The | 7382 | The |
7327 | .Nm s_client | 7383 | .Nm s_client |
@@ -7499,17 +7555,19 @@ option should really exit if the server verification fails. | |||
7499 | .\" SESS_ID | 7555 | .\" SESS_ID |
7500 | .\" | 7556 | .\" |
7501 | .Sh SESS_ID | 7557 | .Sh SESS_ID |
7502 | .Nm openssl sess_id | 7558 | .nr nS 1 |
7559 | .Nm "openssl sess_id" | ||
7503 | .Bk -words | 7560 | .Bk -words |
7504 | .Op Fl cert | 7561 | .Op Fl cert |
7505 | .Op Fl noout | ||
7506 | .Op Fl text | ||
7507 | .Op Fl context Ar ID | 7562 | .Op Fl context Ar ID |
7508 | .Op Fl in Ar file | 7563 | .Op Fl in Ar file |
7509 | .Op Fl inform Ar DER | PEM | 7564 | .Op Fl inform Ar DER | PEM |
7565 | .Op Fl noout | ||
7510 | .Op Fl out Ar file | 7566 | .Op Fl out Ar file |
7511 | .Op Fl outform Ar DER | PEM | 7567 | .Op Fl outform Ar DER | PEM |
7568 | .Op Fl text | ||
7512 | .Ek | 7569 | .Ek |
7570 | .nr nS 0 | ||
7513 | .Pp | 7571 | .Pp |
7514 | The | 7572 | The |
7515 | .Nm sess_id | 7573 | .Nm sess_id |
@@ -7627,7 +7685,8 @@ The cipher and start time should be printed out in human readable form. | |||
7627 | .\" SMIME | 7685 | .\" SMIME |
7628 | .\" | 7686 | .\" |
7629 | .Sh SMIME | 7687 | .Sh SMIME |
7630 | .Nm openssl smime | 7688 | .nr nS 1 |
7689 | .Nm "openssl smime" | ||
7631 | .Bk -words | 7690 | .Bk -words |
7632 | .Oo Xo | 7691 | .Oo Xo |
7633 | .Fl aes128 | aes192 | aes256 | des | | 7692 | .Fl aes128 | aes192 | aes256 | des | |
@@ -7635,15 +7694,26 @@ The cipher and start time should be printed out in human readable form. | |||
7635 | .Xc | 7694 | .Xc |
7636 | .Oc | 7695 | .Oc |
7637 | .Op Fl binary | 7696 | .Op Fl binary |
7697 | .Op Fl CAfile Ar file | ||
7698 | .Op Fl CApath Ar directory | ||
7699 | .Op Fl certfile Ar file | ||
7638 | .Op Fl check_ss_sig | 7700 | .Op Fl check_ss_sig |
7701 | .Op Fl content Ar file | ||
7639 | .Op Fl crl_check | 7702 | .Op Fl crl_check |
7640 | .Op Fl crl_check_all | 7703 | .Op Fl crl_check_all |
7641 | .Op Fl decrypt | 7704 | .Op Fl decrypt |
7642 | .Op Fl encrypt | 7705 | .Op Fl encrypt |
7706 | .Op Fl engine Ar id | ||
7643 | .Op Fl extended_crl | 7707 | .Op Fl extended_crl |
7708 | .Op Fl from Ar addr | ||
7644 | .Op Fl ignore_critical | 7709 | .Op Fl ignore_critical |
7710 | .Op Fl in Ar file | ||
7645 | .Op Fl indef | 7711 | .Op Fl indef |
7712 | .Op Fl inform Ar DER | PEM | SMIME | ||
7713 | .Op Fl inkey Ar file | ||
7646 | .Op Fl issuer_checks | 7714 | .Op Fl issuer_checks |
7715 | .Op Fl keyform Ar ENGINE | PEM | ||
7716 | .Op Fl md Ar digest | ||
7647 | .Op Fl noattr | 7717 | .Op Fl noattr |
7648 | .Op Fl nocerts | 7718 | .Op Fl nocerts |
7649 | .Op Fl nochain | 7719 | .Op Fl nochain |
@@ -7652,35 +7722,25 @@ The cipher and start time should be printed out in human readable form. | |||
7652 | .Op Fl nointern | 7722 | .Op Fl nointern |
7653 | .Op Fl nosigs | 7723 | .Op Fl nosigs |
7654 | .Op Fl noverify | 7724 | .Op Fl noverify |
7655 | .Op Fl pk7out | ||
7656 | .Op Fl policy_check | ||
7657 | .Op Fl resign | ||
7658 | .Op Fl sign | ||
7659 | .Op Fl stream | ||
7660 | .Op Fl text | ||
7661 | .Op Fl verify | ||
7662 | .Op Fl x509_strict | ||
7663 | .Op Fl CAfile Ar file | ||
7664 | .Op Fl CApath Ar directory | ||
7665 | .Op Fl certfile Ar file | ||
7666 | .Op Fl content Ar file | ||
7667 | .Op Fl engine Ar id | ||
7668 | .Op Fl from Ar addr | ||
7669 | .Op Fl in Ar file | ||
7670 | .Op Fl inform Ar DER | PEM | SMIME | ||
7671 | .Op Fl inkey Ar file | ||
7672 | .Op Fl keyform Ar ENGINE | PEM | ||
7673 | .Op Fl md Ar digest | ||
7674 | .Op Fl out Ar file | 7725 | .Op Fl out Ar file |
7675 | .Op Fl outform Ar DER | PEM | SMIME | 7726 | .Op Fl outform Ar DER | PEM | SMIME |
7676 | .Op Fl passin Ar arg | 7727 | .Op Fl passin Ar arg |
7728 | .Op Fl pk7out | ||
7729 | .Op Fl policy_check | ||
7677 | .Op Fl rand Ar | 7730 | .Op Fl rand Ar |
7678 | .Op Fl recip Ar file | 7731 | .Op Fl recip Ar file |
7732 | .Op Fl resign | ||
7733 | .Op Fl sign | ||
7679 | .Op Fl signer Ar file | 7734 | .Op Fl signer Ar file |
7735 | .Op Fl stream | ||
7680 | .Op Fl subject Ar s | 7736 | .Op Fl subject Ar s |
7737 | .Op Fl text | ||
7681 | .Op Fl to Ar addr | 7738 | .Op Fl to Ar addr |
7739 | .Op Fl verify | ||
7740 | .Op Fl x509_strict | ||
7682 | .Op Ar cert.pem ... | 7741 | .Op Ar cert.pem ... |
7683 | .Ek | 7742 | .Ek |
7743 | .nr nS 0 | ||
7684 | .Pp | 7744 | .Pp |
7685 | The | 7745 | The |
7686 | .Nm smime | 7746 | .Nm smime |
@@ -8200,7 +8260,8 @@ command were first added in | |||
8200 | .\" SPEED | 8260 | .\" SPEED |
8201 | .\" | 8261 | .\" |
8202 | .Sh SPEED | 8262 | .Sh SPEED |
8203 | .Nm openssl speed | 8263 | .nr nS 1 |
8264 | .Nm "openssl speed" | ||
8204 | .Bk -words | 8265 | .Bk -words |
8205 | .Op Cm aes | 8266 | .Op Cm aes |
8206 | .Op Cm aes-128-cbc | 8267 | .Op Cm aes-128-cbc |
@@ -8233,11 +8294,12 @@ command were first added in | |||
8233 | .Op Cm sha1 | 8294 | .Op Cm sha1 |
8234 | .Op Fl decrypt | 8295 | .Op Fl decrypt |
8235 | .Op Fl elapsed | 8296 | .Op Fl elapsed |
8236 | .Op Fl mr | ||
8237 | .Op Fl engine Ar id | 8297 | .Op Fl engine Ar id |
8238 | .Op Fl evp Ar e | 8298 | .Op Fl evp Ar e |
8299 | .Op Fl mr | ||
8239 | .Op Fl multi Ar number | 8300 | .Op Fl multi Ar number |
8240 | .Ek | 8301 | .Ek |
8302 | .nr nS 0 | ||
8241 | .Pp | 8303 | .Pp |
8242 | The | 8304 | The |
8243 | .Nm speed | 8305 | .Nm speed |
@@ -8281,15 +8343,15 @@ benchmarks in parallel. | |||
8281 | .Fl query | 8343 | .Fl query |
8282 | .Op Fl md4 | md5 | ripemd160 | sha | sha1 | 8344 | .Op Fl md4 | md5 | ripemd160 | sha | sha1 |
8283 | .Op Fl cert | 8345 | .Op Fl cert |
8284 | .Op Fl no_nonce | ||
8285 | .Op Fl text | ||
8286 | .Op Fl config Ar configfile | 8346 | .Op Fl config Ar configfile |
8287 | .Op Fl data Ar file_to_hash | 8347 | .Op Fl data Ar file_to_hash |
8288 | .Op Fl digest Ar digest_bytes | 8348 | .Op Fl digest Ar digest_bytes |
8289 | .Op Fl in Ar request.tsq | 8349 | .Op Fl in Ar request.tsq |
8350 | .Op Fl no_nonce | ||
8290 | .Op Fl out Ar request.tsq | 8351 | .Op Fl out Ar request.tsq |
8291 | .Op Fl policy Ar object_id | 8352 | .Op Fl policy Ar object_id |
8292 | .Op Fl rand Ar file : Ns Ar file | 8353 | .Op Fl rand Ar file : Ns Ar file |
8354 | .Op Fl text | ||
8293 | .Ek | 8355 | .Ek |
8294 | .nr nS 0 | 8356 | .nr nS 0 |
8295 | .Pp | 8357 | .Pp |
@@ -8297,9 +8359,6 @@ benchmarks in parallel. | |||
8297 | .Nm "openssl ts" | 8359 | .Nm "openssl ts" |
8298 | .Bk -words | 8360 | .Bk -words |
8299 | .Fl reply | 8361 | .Fl reply |
8300 | .Op Fl text | ||
8301 | .Op Fl token_in | ||
8302 | .Op Fl token_out | ||
8303 | .Op Fl chain Ar certs_file.pem | 8362 | .Op Fl chain Ar certs_file.pem |
8304 | .Op Fl config Ar configfile | 8363 | .Op Fl config Ar configfile |
8305 | .Op Fl engine Ar id | 8364 | .Op Fl engine Ar id |
@@ -8311,6 +8370,9 @@ benchmarks in parallel. | |||
8311 | .Op Fl queryfile Ar request.tsq | 8370 | .Op Fl queryfile Ar request.tsq |
8312 | .Op Fl section Ar tsa_section | 8371 | .Op Fl section Ar tsa_section |
8313 | .Op Fl signer Ar tsa_cert.pem | 8372 | .Op Fl signer Ar tsa_cert.pem |
8373 | .Op Fl text | ||
8374 | .Op Fl token_in | ||
8375 | .Op Fl token_out | ||
8314 | .Ek | 8376 | .Ek |
8315 | .nr nS 0 | 8377 | .nr nS 0 |
8316 | .Pp | 8378 | .Pp |
@@ -8318,13 +8380,13 @@ benchmarks in parallel. | |||
8318 | .Nm "openssl ts" | 8380 | .Nm "openssl ts" |
8319 | .Bk -words | 8381 | .Bk -words |
8320 | .Fl verify | 8382 | .Fl verify |
8321 | .Op Fl token_in | ||
8322 | .Op Fl CAfile Ar trusted_certs.pem | 8383 | .Op Fl CAfile Ar trusted_certs.pem |
8323 | .Op Fl CApath Ar trusted_cert_path | 8384 | .Op Fl CApath Ar trusted_cert_path |
8324 | .Op Fl data Ar file_to_hash | 8385 | .Op Fl data Ar file_to_hash |
8325 | .Op Fl digest Ar digest_bytes | 8386 | .Op Fl digest Ar digest_bytes |
8326 | .Op Fl in Ar response.tsr | 8387 | .Op Fl in Ar response.tsr |
8327 | .Op Fl queryfile Ar request.tsq | 8388 | .Op Fl queryfile Ar request.tsq |
8389 | .Op Fl token_in | ||
8328 | .Op Fl untrusted Ar cert_file.pem | 8390 | .Op Fl untrusted Ar cert_file.pem |
8329 | .Ek | 8391 | .Ek |
8330 | .nr nS 0 | 8392 | .nr nS 0 |
@@ -8894,20 +8956,22 @@ OpenTSA project | |||
8894 | .\" SPKAC | 8956 | .\" SPKAC |
8895 | .\" | 8957 | .\" |
8896 | .Sh SPKAC | 8958 | .Sh SPKAC |
8897 | .Nm openssl spkac | 8959 | .nr nS 1 |
8960 | .Nm "openssl spkac" | ||
8898 | .Bk -words | 8961 | .Bk -words |
8899 | .Op Fl noout | ||
8900 | .Op Fl pubkey | ||
8901 | .Op Fl verify | ||
8902 | .Op Fl challenge Ar string | 8962 | .Op Fl challenge Ar string |
8903 | .Op Fl engine Ar id | 8963 | .Op Fl engine Ar id |
8904 | .Op Fl in Ar file | 8964 | .Op Fl in Ar file |
8905 | .Op Fl key Ar keyfile | 8965 | .Op Fl key Ar keyfile |
8966 | .Op Fl noout | ||
8906 | .Op Fl out Ar file | 8967 | .Op Fl out Ar file |
8907 | .Op Fl passin Ar arg | 8968 | .Op Fl passin Ar arg |
8969 | .Op Fl pubkey | ||
8908 | .Op Fl spkac Ar spkacname | 8970 | .Op Fl spkac Ar spkacname |
8909 | .Op Fl spksect Ar section | 8971 | .Op Fl spksect Ar section |
8972 | .Op Fl verify | ||
8910 | .Ek | 8973 | .Ek |
8974 | .nr nS 0 | ||
8911 | .Pp | 8975 | .Pp |
8912 | The | 8976 | The |
8913 | .Nm spkac | 8977 | .Nm spkac |
@@ -9020,11 +9084,15 @@ to be used in a | |||
9020 | .\" VERIFY | 9084 | .\" VERIFY |
9021 | .\" | 9085 | .\" |
9022 | .Sh VERIFY | 9086 | .Sh VERIFY |
9023 | .Nm openssl verify | 9087 | .nr nS 1 |
9088 | .Nm "openssl verify" | ||
9024 | .Bk -words | 9089 | .Bk -words |
9090 | .Op Fl CAfile Ar file | ||
9091 | .Op Fl CApath Ar directory | ||
9025 | .Op Fl check_ss_sig | 9092 | .Op Fl check_ss_sig |
9026 | .Op Fl crl_check | 9093 | .Op Fl crl_check |
9027 | .Op Fl crl_check_all | 9094 | .Op Fl crl_check_all |
9095 | .Op Fl engine Ar id | ||
9028 | .Op Fl explicit_policy | 9096 | .Op Fl explicit_policy |
9029 | .Op Fl extended_crl | 9097 | .Op Fl extended_crl |
9030 | .Op Fl help | 9098 | .Op Fl help |
@@ -9033,16 +9101,14 @@ to be used in a | |||
9033 | .Op Fl inhibit_map | 9101 | .Op Fl inhibit_map |
9034 | .Op Fl issuer_checks | 9102 | .Op Fl issuer_checks |
9035 | .Op Fl policy_check | 9103 | .Op Fl policy_check |
9036 | .Op Fl verbose | ||
9037 | .Op Fl x509_strict | ||
9038 | .Op Fl CAfile Ar file | ||
9039 | .Op Fl CApath Ar directory | ||
9040 | .Op Fl engine Ar id | ||
9041 | .Op Fl purpose Ar purpose | 9104 | .Op Fl purpose Ar purpose |
9042 | .Op Fl untrusted Ar file | 9105 | .Op Fl untrusted Ar file |
9106 | .Op Fl verbose | ||
9107 | .Op Fl x509_strict | ||
9043 | .Op Fl | 9108 | .Op Fl |
9044 | .Op Ar certificates | 9109 | .Op Ar certificates |
9045 | .Ek | 9110 | .Ek |
9111 | .nr nS 0 | ||
9046 | .Pp | 9112 | .Pp |
9047 | The | 9113 | The |
9048 | .Nm verify | 9114 | .Nm verify |
@@ -9443,31 +9509,55 @@ option was added in | |||
9443 | .\" X509 | 9509 | .\" X509 |
9444 | .\" | 9510 | .\" |
9445 | .Sh X509 | 9511 | .Sh X509 |
9446 | .Nm openssl x509 | 9512 | .nr nS 1 |
9513 | .Nm "openssl x509" | ||
9447 | .Bk -words | 9514 | .Bk -words |
9448 | .Op Fl alias | ||
9449 | .Op Fl C | 9515 | .Op Fl C |
9516 | .Op Fl addreject Ar arg | ||
9517 | .Op Fl addtrust Ar arg | ||
9518 | .Op Fl alias | ||
9519 | .Op Fl CA Ar file | ||
9450 | .Op Fl CAcreateserial | 9520 | .Op Fl CAcreateserial |
9521 | .Op Fl CAform Ar DER | PEM | ||
9522 | .Op Fl CAkey Ar file | ||
9523 | .Op Fl CAkeyform Ar DER | PEM | ||
9524 | .Op Fl CAserial Ar file | ||
9525 | .Op Fl certopt Ar option | ||
9526 | .Op Fl checkend Ar arg | ||
9451 | .Op Fl clrext | 9527 | .Op Fl clrext |
9452 | .Op Fl clrreject | 9528 | .Op Fl clrreject |
9453 | .Op Fl clrtrust | 9529 | .Op Fl clrtrust |
9454 | .Op Fl dates | 9530 | .Op Fl dates |
9531 | .Op Fl days Ar arg | ||
9455 | .Op Fl email | 9532 | .Op Fl email |
9456 | .Op Fl enddate | 9533 | .Op Fl enddate |
9534 | .Op Fl engine Ar id | ||
9535 | .Op Fl extensions Ar section | ||
9536 | .Op Fl extfile Ar file | ||
9457 | .Op Fl fingerprint | 9537 | .Op Fl fingerprint |
9458 | .Op Fl hash | 9538 | .Op Fl hash |
9539 | .Op Fl in Ar file | ||
9540 | .Op Fl inform Ar DER | NET | PEM | ||
9459 | .Op Fl issuer | 9541 | .Op Fl issuer |
9460 | .Op Fl issuer_hash | 9542 | .Op Fl issuer_hash |
9461 | .Op Fl issuer_hash_old | 9543 | .Op Fl issuer_hash_old |
9544 | .Op Fl keyform Ar DER | PEM | ||
9462 | .Op Fl md2 | md5 | sha1 | 9545 | .Op Fl md2 | md5 | sha1 |
9463 | .Op Fl modulus | 9546 | .Op Fl modulus |
9547 | .Op Fl nameopt Ar option | ||
9464 | .Op Fl noout | 9548 | .Op Fl noout |
9465 | .Op Fl ocspid | ||
9466 | .Op Fl ocsp_uri | 9549 | .Op Fl ocsp_uri |
9550 | .Op Fl ocspid | ||
9551 | .Op Fl out Ar file | ||
9552 | .Op Fl outform Ar DER | NET | PEM | ||
9553 | .Op Fl passin Ar arg | ||
9467 | .Op Fl pubkey | 9554 | .Op Fl pubkey |
9468 | .Op Fl purpose | 9555 | .Op Fl purpose |
9469 | .Op Fl req | 9556 | .Op Fl req |
9470 | .Op Fl serial | 9557 | .Op Fl serial |
9558 | .Op Fl set_serial Ar n | ||
9559 | .Op Fl setalias Ar arg | ||
9560 | .Op Fl signkey Ar file | ||
9471 | .Op Fl startdate | 9561 | .Op Fl startdate |
9472 | .Op Fl subject | 9562 | .Op Fl subject |
9473 | .Op Fl subject_hash | 9563 | .Op Fl subject_hash |
@@ -9475,30 +9565,8 @@ option was added in | |||
9475 | .Op Fl text | 9565 | .Op Fl text |
9476 | .Op Fl trustout | 9566 | .Op Fl trustout |
9477 | .Op Fl x509toreq | 9567 | .Op Fl x509toreq |
9478 | .Op Fl addreject Ar arg | ||
9479 | .Op Fl addtrust Ar arg | ||
9480 | .Op Fl CA Ar file | ||
9481 | .Op Fl CAform Ar DER | PEM | ||
9482 | .Op Fl CAkey Ar file | ||
9483 | .Op Fl CAkeyform Ar DER | PEM | ||
9484 | .Op Fl CAserial Ar file | ||
9485 | .Op Fl certopt Ar option | ||
9486 | .Op Fl checkend Ar arg | ||
9487 | .Op Fl days Ar arg | ||
9488 | .Op Fl engine Ar id | ||
9489 | .Op Fl extensions Ar section | ||
9490 | .Op Fl extfile Ar file | ||
9491 | .Op Fl in Ar file | ||
9492 | .Op Fl inform Ar DER | NET | PEM | ||
9493 | .Op Fl keyform Ar DER | PEM | ||
9494 | .Op Fl nameopt Ar option | ||
9495 | .Op Fl out Ar file | ||
9496 | .Op Fl outform Ar DER | NET | PEM | ||
9497 | .Op Fl passin Ar arg | ||
9498 | .Op Fl set_serial Ar n | ||
9499 | .Op Fl setalias Ar arg | ||
9500 | .Op Fl signkey Ar file | ||
9501 | .Ek | 9568 | .Ek |
9569 | .nr nS 0 | ||
9502 | .Pp | 9570 | .Pp |
9503 | The | 9571 | The |
9504 | .Nm x509 | 9572 | .Nm x509 |
@@ -9635,10 +9703,10 @@ See the | |||
9635 | section for more information. | 9703 | section for more information. |
9636 | .It Fl noout | 9704 | .It Fl noout |
9637 | This option prevents output of the encoded version of the request. | 9705 | This option prevents output of the encoded version of the request. |
9638 | .It Fl ocspid | ||
9639 | Print OCSP hash values for the subject name and public key. | ||
9640 | .It Fl ocsp_uri | 9706 | .It Fl ocsp_uri |
9641 | Outputs the OCSP responder addresses, if any. | 9707 | Outputs the OCSP responder addresses, if any. |
9708 | .It Fl ocspid | ||
9709 | Print OCSP hash values for the subject name and public key. | ||
9642 | .It Fl pubkey | 9710 | .It Fl pubkey |
9643 | Output the public key. | 9711 | Output the public key. |
9644 | .It Fl serial | 9712 | .It Fl serial |