X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fapps%2Freq.pod;h=a891c3eeef76eb9fc0b79b5d7d48dffda2c91110;hb=bb9ad09e8ec91d1c3e9c571b4b5ba98980b5fa93;hp=eb840be87fe1126da90445fb29e88afeba6a7910;hpb=3aba132d61baeecffb9a6f8da7d0809352cbfb2d;p=oweals%2Fopenssl.git diff --git a/doc/apps/req.pod b/doc/apps/req.pod index eb840be87f..a891c3eeef 100644 --- a/doc/apps/req.pod +++ b/doc/apps/req.pod @@ -1,13 +1,13 @@ - =pod =head1 NAME -req - PKCS#10 certificate request and certificate generating utility. +req - PKCS#10 certificate request and certificate generating utility =head1 SYNOPSIS B B +[B<-help>] [B<-inform PEM|DER>] [B<-outform PEM|DER>] [B<-in filename>] @@ -30,13 +30,10 @@ B B [B<-keygen_engine id>] [B<-[digest]>] [B<-config filename>] -[B<-subj arg>] [B<-multivalue-rdn>] [B<-x509>] [B<-days n>] [B<-set_serial n>] -[B<-asn1-kludge>] -[B<-no-asn1-kludge>] [B<-newhdr>] [B<-extensions section>] [B<-reqexts section>] @@ -59,6 +56,10 @@ for use as root CAs for example. =over 4 +=item B<-help> + +Print out a usage message. + =item B<-inform DER|PEM> This specifies the input format. The B option uses an ASN1 DER encoded @@ -68,7 +69,7 @@ footer lines. =item B<-outform DER|PEM> -This specifies the output format, the options have the same meaning as the +This specifies the output format, the options have the same meaning as the B<-inform> option. =item B<-in filename> @@ -80,7 +81,7 @@ options (B<-new> and B<-newkey>) are not specified. =item B<-passin arg> the input file password source. For more information about the format of B -see the B section in L. +see the B section in L. =item B<-out filename> @@ -90,7 +91,7 @@ default. =item B<-passout arg> the output file password source. For more information about the format of B -see the B section in L. +see the B section in L. =item B<-text> @@ -128,18 +129,11 @@ in the configuration file and any requested extensions. If the B<-key> option is not used it will generate a new RSA private key using information specified in the configuration file. -=item B<-subj arg> - -Replaces subject field of input request with specified data and outputs -modified request. The arg must be formatted as -I, -characters may be escaped by \ (backslash), no spaces are skipped. - =item B<-rand file(s)> a file or files containing random data used to seed the random number -generator, or an EGD socket (see L). -Multiple files can be specified separated by a OS-dependent character. +generator, or an EGD socket (see L). +Multiple files can be specified separated by an OS-dependent character. The separator is B<;> for MS-Windows, B<,> for OpenVMS, and B<:> for all others. @@ -153,7 +147,7 @@ the default key size, specified in the configuration file is used. All other algorithms support the B<-newkey alg:file> form, where file may be an algorithm parameter file, created by the B command -or and X.509 certificate for a key with approriate algorithm. +or and X.509 certificate for a key with appropriate algorithm. B generates a key using the parameter file or certificate B, the algorithm is determined by the parameters. B use algorithm @@ -199,8 +193,9 @@ will not be encrypted. =item B<-[digest]> -this specifies the message digest to sign the request with (such as -B<-md5>, B<-sha1>). This overrides the digest algorithm specified in +this specifies the message digest to sign the request. +Any digest supported by the OpenSSL B command can be used. +This overrides the digest algorithm specified in the configuration file. Some public key algorithms may override this choice. For instance, DSA @@ -261,7 +256,7 @@ a variety of purposes. =item B<-utf8> -this option causes field values to be interpreted as UTF8 strings, by +this option causes field values to be interpreted as UTF8 strings, by default they are interpreted as ASCII. This means that the field values, whether prompted from a terminal or obtained from a configuration file, must be valid UTF8 strings. @@ -271,36 +266,16 @@ configuration file, must be valid UTF8 strings. option which determines how the subject or issuer names are displayed. The B