X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman1%2Fca.pod;h=21e692e511e8b347a6c0313d6bdbb64edfa5296c;hp=a985631531e2e3af8a1e21ecdfe6874950221935;hb=ffb46830e2df;hpb=932c0df29b7a5a2902c52e2f536b5b83392e2d42 diff --git a/doc/man1/ca.pod b/doc/man1/ca.pod index a985631531..21e692e511 100644 --- a/doc/man1/ca.pod +++ b/doc/man1/ca.pod @@ -51,6 +51,7 @@ B B [B<-subj arg>] [B<-utf8>] [B<-create_serial>] +[B<-rand_serial>] [B<-multivalue-rdn>] [B<-rand file...>] [B<-writerand file>] @@ -262,6 +263,13 @@ configuration file, must be valid UTF8 strings. If reading serial from the text file as specified in the configuration fails, specifying this option creates a new random serial to be used as next serial number. +To get random serial numbers, use the B<-rand_serial> flag instead; this +should only be used for simple error-recovery. + +=item B<-rand_serial> + +Generate a large random number to use as the serial number. +This overrides any option or configuration to use a serial number file. =item B<-multivalue-rdn> @@ -614,6 +622,7 @@ A sample configuration file with the relevant sections for B: certificate = $dir/cacert.pem # The CA cert serial = $dir/serial # serial no file + #rand_serial = yes # for random serial#'s private_key = $dir/private/cakey.pem# CA private key RANDFILE = $dir/private/.rand # random number file