Hello everyone, I'm currently working on generating a certificate signing request (CSR) using node-forge, and I have a query regarding the setSubject method. While attempting to create a CSR following the C+ST+L+O+OU+CN pattern, I noticed that the output differed from that of OpenSSL. Despite trying to set a manual order and modify the setSubject parameter, the library did not adhere to the changes. My ultimate goal is to produce a CSR that has a format similar to OpenSSL's.
Hello everyone, I'm currently working on generating a certificate signing request (CSR) using node-forge, and I have a query regarding the
setSubject
method. While attempting to create a CSR following theC+ST+L+O+OU+CN
pattern, I noticed that the output differed from that of OpenSSL. Despite trying to set a manual order and modify thesetSubject
parameter, the library did not adhere to the changes. My ultimate goal is to produce a CSR that has a format similar to OpenSSL's.The OpenSSL subject field order is as follows:
However, the generated CSR subject field order by node-forge is as follows:
My questions are:
Thank you in advance for your attention.