APPS/x509: With -CA but both -CAserial and -CAcreateserial not given, use random...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 30 May 2022 14:53:05 +0000 (16:53 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 14 Jul 2022 13:02:57 +0000 (15:02 +0200)
commit55eafed6fbefbc1e725bf7b17b2bbca083a457fc
tree699ff4d1cae15a553a79a5a41c354d376c73a772
parentd94f8aa38570b459601a9b69793c73f1f369a516
APPS/x509: With -CA but both -CAserial and -CAcreateserial not given, use random serial.

Also improve openssl-x509.pod.in and error handling of load_serial() in apps.c.
Backported from 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/18803)
apps/apps.c
apps/apps.h
apps/ca.c
apps/x509.c
doc/man1/x509.pod