]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
apps/x509: Improve doc fix for -CAserial anc -CAcreateserial
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 14 Jul 2022 13:12:55 +0000 (15:12 +0200)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 19 Jul 2022 09:39:04 +0000 (11:39 +0200)
This follows up on https://github.com/openssl/openssl/pull/18373

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/18804)

doc/man1/openssl-x509.pod.in

index ef4ebfd64993e1435e1a1be0f57fa08cc23dc4bd..d05f380bdeaf7dc1f02d9c17c53d44699a0bec45 100644 (file)
@@ -496,8 +496,9 @@ See L<openssl-format-options(1)> for details.
 
 Sets the CA serial number file to use.
 
-When creating a certificate with this option, the certificate serial number
-is stored in the given file. This file consists of one line containing
+When creating a certificate with this option and with the B<-CA> option,
+the certificate serial number is stored in the given file.
+This file consists of one line containing
 an even number of hex digits with the serial number used last time.
 After reading this number, it is incremented and used, and the file is updated.
 
@@ -512,9 +513,10 @@ a random number is generated; this is the recommended practice.
 
 =item B<-CAcreateserial>
 
-With this option the CA serial number file is created if it does not exist.
-A random number is generated, used for the certificate, and saved into the
-serial number file in that case.
+With this option and the B<-CA> option
+the CA serial number file is created if it does not exist.
+A random number is generated, used for the certificate,
+and saved into the serial number file determined as described above.
 
 =back