> This certificate request has the next fields:
> "CN=Name, OU=Department,O=Company, L=Valencia, S=Comunidad Valenciana"
> But i would like generate a request with the fields:
> "CN=Name, OU=Department,O=Company, L=Valencia, S=Comunidad Valenciana, SN=
> I have read the openssl documentation, and the sintaxis
> of the openssl configuration file, but i can not find
> the right way.
CHANGES file in openssl source distribution has following description:
(at least openssl-0.9.7g)
---- quotation begin ----
*) Make object definitions compliant to LDAP (RFC2256): SN is the short
form for "surname", serialNumber has no short form.
---- quotation end ----
So, if you aim "SN" as serialNumber (not surname),
how about to add serialNumber naming attribute to openssl.cnf file,
[ policy_anything ]
countryName = optional
emailAddress = optional
serialNumber = optional (*)
emailAddress = Email Address
emailAddress_max = 64
serialNumber = Serial Number (*)
(*) - added line