"Wong, RYM (Richard)" wrote:
> 
> Hi,
> 
> I have a question about the format of 'Subject' in 'Certificate Request'
> file.
> 
> If I put "emailAddress         = Email Address
>            emailAddress_max = 60"
> at the end of the block '[ req_distinguished_name ]' in the file
> 'openssl.cnf' and use it to create a Certificate Request file, I will get a
> '/' character attached to the word 'Email'.
> e.g. Subject: C=UK, O=aaa, OU=abc, CN= name [EMAIL PROTECTED]
> 
> If I put the two lines at the beginning of the block, I will not get a '/'
> character before the word 'Email'.
> 
> How do I replace ',' by '/' in the Subject line?
> 

The '/' isn't in the emailAddress its just a quirk in old code that is
used to display the DN.

If you enable the newer DN display code with something like:

openssl x509 -nameopt oneline -in cert.pem -subject -noout

it wont have the '/'.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Gemplus: http://www.gemplus.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


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

Reply via email to