I have a CSR for a user certificate with no email address specified in its DN. However, the email address is specified as an extension in subject alternative name.
Now I would like to sign this request with openssl and include the email address in the resulting certificate's DN, i.e. the email address has to be copied from subject alternative name to the emailAddress field in DN. Is that even possible with openssl?