X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman1%2Fx509.pod;h=1140e2570ec5b69d424180133c403b5d49768ef0;hp=587c630065af3ca659bc02fe3595a7691b22ca13;hb=9422d45de2b70cabec5f6e6a5c812e0647e6d3ab;hpb=e90fc053c33a2241004451cfdeecfbf3cbdeb728 diff --git a/doc/man1/x509.pod b/doc/man1/x509.pod index 587c630065..1140e2570e 100644 --- a/doc/man1/x509.pod +++ b/doc/man1/x509.pod @@ -2,6 +2,7 @@ =head1 NAME +openssl-x509, x509 - Certificate display and signing utility =head1 SYNOPSIS @@ -53,12 +54,15 @@ B B [B<-CAserial filename>] [B<-force_pubkey key>] [B<-text>] +[B<-ext extensions>] [B<-certopt option>] [B<-C>] -[B<-[digest]>] +[B<-I>] [B<-clrext>] [B<-extfile filename>] [B<-extensions section>] +[B<-rand file...>] +[B<-writerand file>] [B<-engine id>] [B<-preserve_dates>] @@ -89,12 +93,12 @@ certificate but this can change if other options such as B<-req> are present. The DER format is the DER encoding of the certificate and PEM is the base64 encoding of the DER encoding with header and footer lines added. The NET option is an obscure Netscape server format that is now -obsolete. +obsolete. The default format is PEM. =item B<-outform DER|PEM|NET> -This specifies the output format, the options have the same meaning as the -B<-inform> option. +This specifies the output format, the options have the same meaning and default +as the B<-inform> option. =item B<-in filename> @@ -106,7 +110,7 @@ if this option is not specified. This specifies the output filename to write to or standard output by default. -=item B<-[digest]> +=item B<-I> The digest to use. This affects any signing or display option that uses a message @@ -115,6 +119,19 @@ Any digest supported by the OpenSSL B command can be used. If not specified then SHA1 is used with B<-fingerprint> or the default digest for the signing algorithm is used, typically SHA256. +=item B<-rand file...> + +A file or files containing random data used to seed the random number +generator. +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. + +=item [B<-writerand file>] + +Writes random data to the specified I upon exit. +This can be used with a subsequent B<-rand> flag. + =item B<-engine id> Specifying an engine (by its unique B string) will cause B @@ -142,6 +159,12 @@ Prints out the certificate in text form. Full details are output including the public key, signature algorithms, issuer and subject names, serial number any extensions present and any trust settings. +=item B<-ext extensions> + +Prints out the certificate extensions in text form. Extensions are specified +with a comma separated string, e.g., "subjectAltName,subjectKeyIdentifier". +See the L manual page for the extension names. + =item B<-certopt option> Customise the output format used with B<-text>. The B