summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjmc <>2016-09-22 13:44:02 +0000
committerjmc <>2016-09-22 13:44:02 +0000
commit494b9f711ebe03e5e58d451114a55670048fd431 (patch)
tree1c3726128ad22513a8bf3f3e193901bc9c24ec5d /src
parentbe17cc7cacfb36c99f77da01fcf67e8e4232242c (diff)
downloadopenbsd-494b9f711ebe03e5e58d451114a55670048fd431.tar.gz
openbsd-494b9f711ebe03e5e58d451114a55670048fd431.tar.bz2
openbsd-494b9f711ebe03e5e58d451114a55670048fd431.zip
some minor cleanup;
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/openssl.164
1 files changed, 17 insertions, 47 deletions
diff --git a/src/usr.bin/openssl/openssl.1 b/src/usr.bin/openssl/openssl.1
index 2fa7a70b69..9ca16ee87c 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.80 2016/09/22 13:30:49 jmc Exp $ 1.\" $OpenBSD: openssl.1,v 1.81 2016/09/22 13:44:02 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.\"
@@ -318,7 +318,7 @@ into a nested structure.
318.Op Fl infiles 318.Op Fl infiles
319.Op Fl key Ar keyfile 319.Op Fl key Ar keyfile
320.Op Fl keyfile Ar arg 320.Op Fl keyfile Ar arg
321.Op Fl keyform Ar PEM 321.Op Fl keyform Ar pem
322.Op Fl md Ar arg 322.Op Fl md Ar arg
323.Op Fl msie_hack 323.Op Fl msie_hack
324.Op Fl name Ar section 324.Op Fl name Ar section
@@ -393,7 +393,7 @@ Since on some systems the command line arguments are visible,
393this option should be used with caution. 393this option should be used with caution.
394.It Fl keyfile Ar file 394.It Fl keyfile Ar file
395The private key to sign requests with. 395The private key to sign requests with.
396.It Fl keyform Ar PEM 396.It Fl keyform Ar pem
397Private key file format. 397Private key file format.
398.It Fl md Ar alg 398.It Fl md Ar alg
399The message digest to use. 399The message digest to use.
@@ -545,14 +545,10 @@ The
545of the configuration file containing CRL extensions to include. 545of the configuration file containing CRL extensions to include.
546If no CRL extension section is present then a V1 CRL is created; 546If no CRL extension section is present then a V1 CRL is created;
547if the CRL extension section is present 547if the CRL extension section is present
548.Pq even if it is empty 548(even if it is empty)
549then a V2 CRL is created. 549then a V2 CRL is created.
550The CRL extensions specified are CRL extensions and 550The CRL extensions specified are CRL extensions and not CRL entry extensions.
551.Em not 551It should be noted that some software can't handle V2 CRLs.
552CRL entry extensions.
553It should be noted that some software
554.Pq for example Netscape
555can't handle V2 CRLs.
556.It Fl crlhours Ar num 552.It Fl crlhours Ar num
557The number of hours before the next CRL is due. 553The number of hours before the next CRL is due.
558.It Fl gencrl 554.It Fl gencrl
@@ -725,9 +721,8 @@ is accepted by both to produce a reasonable output.
725If neither option is present, the format used in earlier versions of 721If neither option is present, the format used in earlier versions of
726.Nm openssl 722.Nm openssl
727is used. 723is used.
728Use of the old format is 724Use of the old format is strongly discouraged
729.Em strongly 725because it only displays fields mentioned in the
730discouraged because it only displays fields mentioned in the
731.Cm policy 726.Cm policy
732section, 727section,
733mishandles multicharacter string types and does not display extensions. 728mishandles multicharacter string types and does not display extensions.
@@ -1697,9 +1692,7 @@ Use NULL cipher (no encryption or decryption of input).
1697Disable standard block padding. 1692Disable standard block padding.
1698.It Fl nosalt 1693.It Fl nosalt
1699Don't use a salt in the key derivation routines. 1694Don't use a salt in the key derivation routines.
1700This option should 1695This option should never be used
1701.Em NEVER
1702be used
1703since it makes it possible to perform efficient dictionary 1696since it makes it possible to perform efficient dictionary
1704attacks on the password and to attack stream cipher encrypted data. 1697attacks on the password and to attack stream cipher encrypted data.
1705.It Fl out Ar file 1698.It Fl out Ar file
@@ -2064,10 +2057,8 @@ specifies the HTTP path name to use, or
2064.Pa / 2057.Pa /
2065by default. 2058by default.
2066.It Fl issuer Ar file 2059.It Fl issuer Ar file
2067The current issuer certificate, 2060The current issuer certificate, in PEM format.
2068in PEM format. 2061Can be used multiple times and must come before any
2069Can be used multiple times
2070and must come before any
2071.Fl cert 2062.Fl cert
2072options. 2063options.
2073.It Fl no_cert_checks 2064.It Fl no_cert_checks
@@ -2306,12 +2297,6 @@ If the OCSP responder is a global responder,
2306which can give details about multiple CAs 2297which can give details about multiple CAs
2307and has its own separate certificate chain, 2298and has its own separate certificate chain,
2308then its root CA can be trusted for OCSP signing. 2299then its root CA can be trusted for OCSP signing.
2309For example:
2310.Bd -literal -offset indent
2311$ openssl x509 -in ocspCA.pem -addtrust OCSPSigning \e
2312 -out trustedCA.pem
2313.Ed
2314.Pp
2315Alternatively, the responder certificate itself can be explicitly trusted 2300Alternatively, the responder certificate itself can be explicitly trusted
2316with the 2301with the
2317.Fl VAfile 2302.Fl VAfile
@@ -2655,8 +2640,7 @@ certificate using 40-bit RC2.
2655Create a PKCS#12 file (rather than parsing one). 2640Create a PKCS#12 file (rather than parsing one).
2656.It Fl in Ar file 2641.It Fl in Ar file
2657The input file to read from, 2642The input file to read from,
2658or standard input if not specified, 2643or standard input if not specified.
2659in PEM format.
2660The order doesn't matter but one private key and its corresponding 2644The order doesn't matter but one private key and its corresponding
2661certificate should be present. 2645certificate should be present.
2662If additional certificates are present, they will also be included 2646If additional certificates are present, they will also be included
@@ -2692,8 +2676,6 @@ This name is typically displayed in list boxes by software importing the file.
2692Don't attempt to provide the MAC integrity. 2676Don't attempt to provide the MAC integrity.
2693.It Fl nomaciter , noiter 2677.It Fl nomaciter , noiter
2694Affect the iteration counts on the MAC and key algorithms. 2678Affect the iteration counts on the MAC and key algorithms.
2695Unless you wish to produce files compatible with MSIE 4.0, you should leave
2696these options alone.
2697.Pp 2679.Pp
2698To discourage attacks by using large dictionaries of common passwords, 2680To discourage attacks by using large dictionaries of common passwords,
2699the algorithm that derives keys from passwords can have an iteration count 2681the algorithm that derives keys from passwords can have an iteration count
@@ -2706,9 +2688,6 @@ using these options the MAC and encryption iteration counts can be set to 1.
2706Since this reduces the file security you should not use these options 2688Since this reduces the file security you should not use these options
2707unless you really have to. 2689unless you really have to.
2708Most software supports both MAC and key iteration counts. 2690Most software supports both MAC and key iteration counts.
2709MSIE 4.0 doesn't support MAC iteration counts, so it needs the
2710.Fl nomaciter
2711option.
2712.It Fl out Ar file 2691.It Fl out Ar file
2713The output file to write to, 2692The output file to write to,
2714or standard output if not specified. 2693or standard output if not specified.
@@ -3015,9 +2994,7 @@ pseudo-random bytes.
3015The options are as follows: 2994The options are as follows:
3016.Bl -tag -width Ds 2995.Bl -tag -width Ds
3017.It Fl base64 2996.It Fl base64
3018Perform 2997Perform base64 encoding on the output.
3019.Em base64
3020encoding on the output.
3021.It Fl hex 2998.It Fl hex
3022Specify hexadecimal output. 2999Specify hexadecimal output.
3023.It Fl out Ar file 3000.It Fl out Ar file
@@ -3108,7 +3085,8 @@ It also accepts PKCS#8 format private keys for PEM format files.
3108The format of the private key file specified in the 3085The format of the private key file specified in the
3109.Fl key 3086.Fl key
3110argument. 3087argument.
3111The default is PEM. 3088The default is
3089.Cm pem .
3112.It Fl keyout Ar file 3090.It Fl keyout Ar file
3113The file to write the newly created private key to. 3091The file to write the newly created private key to.
3114If this option is not specified, 3092If this option is not specified,
@@ -3974,10 +3952,8 @@ must end with CRLF).
3974Generate SSL/TLS session IDs prefixed by 3952Generate SSL/TLS session IDs prefixed by
3975.Ar arg . 3953.Ar arg .
3976This is mostly useful for testing any SSL/TLS code 3954This is mostly useful for testing any SSL/TLS code
3977(e.g. proxies) 3955that wish to deal with multiple servers,
3978that wish to deal with multiple servers, when each of which might be 3956when each of which might be generating a unique range of session IDs.
3979generating a unique range of session IDs
3980(e.g. with a certain prefix).
3981.It Fl key Ar keyfile 3957.It Fl key Ar keyfile
3982The private key to use. 3958The private key to use.
3983If not specified, the certificate file will be used. 3959If not specified, the certificate file will be used.
@@ -6055,9 +6031,6 @@ The following environment variables affect the execution of
6055.It Ev OPENSSL_CONF 6031.It Ev OPENSSL_CONF
6056The location of the master configuration file. 6032The location of the master configuration file.
6057.El 6033.El
6058.\"
6059.\" FILES
6060.\"
6061.Sh FILES 6034.Sh FILES
6062.Bl -tag -width "/etc/ssl/openssl.cnf" -compact 6035.Bl -tag -width "/etc/ssl/openssl.cnf" -compact
6063.It Pa /etc/ssl/ 6036.It Pa /etc/ssl/
@@ -6075,9 +6048,6 @@ Default configuration file for
6075.Nm x509 6048.Nm x509
6076certificates. 6049certificates.
6077.El 6050.El
6078.\"
6079.\" SEE ALSO
6080.\"
6081.Sh SEE ALSO 6051.Sh SEE ALSO
6082.Xr acme-client 1 , 6052.Xr acme-client 1 ,
6083.Xr nc 1 , 6053.Xr nc 1 ,