On Thu, Jan 25, 2007, Lutz Jaenicke wrote:

> 
> Hi,
> 
> I am trying to issue certificates with a uid attribute in the subject like:
> 
> Subject: .../CN=<realname>/emailAddress=<emailaddress>/uid=<username>
> 
> How can I do that?
> 
> In the "DISTINGUISHED NAME AND ATTRIBUTE SECTION" of openssl.conf I 
> inserted:
> 
>       UID = UID (z.B.: mmustermann)
> 
> Result is:
> When generating a certificate request, I get asked for a UID.
> When signing it to generate the certificate, the UID is shown.
> But, when looking at the certificate in clear text the subject does not 
> contain the UID.
> 
> What's wrong?
> 
> Please give me a little help.
> 

You need to include the UID field in the relevant policy section of
openssl.cnf or it will be dropped by the ca utility.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to