certtool: overriding certain fields of a cert req?

Michael Tokarev <[email protected]> Wed, 8 Mar 2023 14:46:35 +0300
Newsgroups gmane.network.gnutls.general
Message-ID <[email protected]>
Hello!

Is there a way in certtool to override certain fields in a certificate
request when issuing a certificate, such as subject/dn, for example like
this can be done with openssl:

  openssl ca -infiles user.crs -out user.crt -subj "/CN=foo/C=BAR/O=baz"

?

I tried to list dn in the template file, but apparently it is being
ignored when processing a crq and doing --generate-certificate.

Thanks,

/mjt