Found the problem
There was prompt=no in the cnf file.

Dont see why that should complain though.

On 6 Dec 2006, at 14:41, Stuart Gall wrote:

Hello,

I have the following problem

openssl req -config client.cnf -new -key ClientCerts/stuart.key - out ClientCerts/stuart.csr
Enter pass phrase for ClientCerts/stuart.key:
problems making Certificate Request
30488:error:0D07A097:asn1 encoding routines:ASN1_mbstring_ncopy:string too long:a_mbstr.c:154:maxsize=2

All the indications are from what I have read on the web that I am using > 2 chars for the country code, But I am not, nor did I ever do that

I wonder if this has anything to do with the locale setting most of my LC_ vars are set to utf-8 do these matter?

TIA

client.cnf
[ req_distinguished_name ]
countryName                     = Country Name (2 letter code)
countryName_default             = GR
countryName_min                 = 2

0.organizationName              = Organization Name (eg, company)
0.organizationName_default      = PPV

localityName                    = locality
localityName_default            = ATH

commonName                      = Persons Name
commonName_default              =
commonName_max                  = 64

emailAddress                    = Email Address
emailAddress_default            =
emailAddress_max                = 50


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


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

Reply via email to