Topic: Need support for userid in Subject name of CSR


I work for a company which have sourced and paid for wolfSSL. We need to have support for userid/UID/0.9.2342.19200300.100.1.1 in the Subject field of a CSR. I attach a patch on 5.1.1/master which holds updates that make your code support  it. An obvious patch work but you will easily get the idea of what I ask for.

It has been tested by reading th DER-formatted file back by using openssl and it seems to work:

> openssl req -noout -text -inform DER -in csr.der 
Certificate Request:
        Version: 3 (0x2)
        Subject: CN = name, serialNumber = number, UID = This is what is added by the patch
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (4096 bit)

I'd appreciate it if you could get back to me regarding this matter.


Post's attachments

0001-Made-userid-work-in-RDN.patch 9.47 kb, 4 downloads since 2022-02-20 

You don't have the permssions to download the attachments of this post.


Re: Need support for userid in Subject name of CSR

Hello Olle,

In order to properly prioritize your request, please open a support ticket by emailing

Eric @ wolfSSL Support