Add a field to pick a digest algo when signing a CSR, otherwise it ends up with SHA1. Fixes #7853 While here, add the cert serial number and sig digest type to the info block for each cert.
(cherry picked from commit aec3a259271be5dae63b148a48b7778c0cd0660e)
Related issues
Bug #7853: Signed CSRs always use SHA1, which is weak
Add a field to pick a digest algo when signing a CSR, otherwise it ends up with SHA1. Fixes #7853
While here, add the cert serial number and sig digest type to the info block for each cert.
(cherry picked from commit aec3a259271be5dae63b148a48b7778c0cd0660e)