Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error: ASN1_mbstring_copy:string too long:a_mbstr.c:154:maxsize=2

4,054 views
Skip to first unread message

Ingo Kappler

unread,
Sep 6, 2002, 6:09:26 AM9/6/02
to
Hi,

what means that error messages, and where have I to look to get the
problem solved?

###
web:/opt/CA-PT # openssl req -x509 -newkey rsa -out cacert.pem
-outform PEM
Using configuration from /opt/CA-PT/openssl.cnf
Generating a 1024 bit RSA private key
.................................++++++
...++++++
writing new private key to '/opt/CA-PT/private/cakey.pem'
Enter PEM pass phrase:
Verifying password - Enter PEM pass phrase:
-----
problems making Certificate Request
20700:error:0D11A0A3:asn1 encoding
routines:ASN1_mbstring_copy:string too long:a_mbstr.c:154:maxsize=2
###

Thanks a lot
Ingo
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

Dr. Stephen Henson

unread,
Sep 6, 2002, 8:10:56 PM9/6/02
to
On Fri, Sep 06, 2002, Ingo Kappler wrote:

> Hi,
>
> what means that error messages, and where have I to look to get the
> problem solved?
>
> ###
> web:/opt/CA-PT # openssl req -x509 -newkey rsa -out cacert.pem
> -outform PEM
> Using configuration from /opt/CA-PT/openssl.cnf
> Generating a 1024 bit RSA private key
> .................................++++++
> ...++++++
> writing new private key to '/opt/CA-PT/private/cakey.pem'
> Enter PEM pass phrase:
> Verifying password - Enter PEM pass phrase:
> -----
> problems making Certificate Request
> 20700:error:0D11A0A3:asn1 encoding
> routines:ASN1_mbstring_copy:string too long:a_mbstr.c:154:maxsize=2
> ###
>

Probably the country name is longer than 2 characters.

Steve.
--
Dr. Stephen Henson st...@openssl.org
OpenSSL Project http://www.openssl.org/~steve/

Dr. Stephen Henson

unread,
Sep 9, 2002, 6:07:34 AM9/9/02
to
0 new messages