Hello all,

I'm trying to add an attibute to a cert's subject.

This is an example:
Subject: 1.2.3.4.5=A0000000, C=ES, O=pepe S.A., CN=yo 
[EMAIL PROTECTED]

But I don't no how to do it.

I've tryed to do it writting in the openssl.cnf this:

[ policy_match ]
countryName             = match
localityName    = optional
organizationalUnitName  = optional
organizationName        = supplied
title = optional
commonName              = supplied
emailAddress            = optional
1.2.3.4.5 = optional

[ policy_anything ]
countryName             = match
organizationalUnitName  = optional
organizationName        = supplied
title = optional
commonName              = supplied
emailAddress            = optional
1.2.3.4.5 = optional

[ req_attributes ]
1.2.3.4.5 = el DNI


But I didn't have success.

Do you have any idea to do it?

Thank you very much everyone

Juanan

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to