problems making Certificate Request

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

problems making Certificate Request

Brendon Schafer
Hi All

Just subscribed. I hope this isn't an FAQ, but diagnostics on web page
isn't helping me :(

I got this error message while creating a server certificate:
 
Suse:~ # openssl req -new  -subj '/CN=OfficeRunner.local Par - keyout
OR-key.pem -out OR-req.pem -days 3650'
Generating a 1024 bit RSA private key
.................++++++
.++++++
writing new private key to 'privkey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
problems making Certificate Request
6168:error:0D07A097:asn1 encoding routines:ASN1_mbstring_copy:string too
long:a_mbstr.c:154:maxsize=64

TIA

Brendon

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: problems making Certificate Request

Dmitry Belyavsky
Hello!

On Thu, 25 Aug 2005, Brendon Schafer wrote:

> Just subscribed. I hope this isn't an FAQ, but diagnostics on web page isn't
> helping me :(
>
> I got this error message while creating a server certificate:
>
> Suse:~ # openssl req -new  -subj '/CN=OfficeRunner.local Par - keyout
> OR-key.pem -out OR-req.pem -days 3650'

Whether right quote is at place expected or it shoul be before keyout?

--
SY, Dmitry Belyavsky (ICQ UIN 11116575)

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: problems making Certificate Request

Brendon Schafer
Dmitry Belyavsky wrote:

>Hello!
>
>On Thu, 25 Aug 2005, Brendon Schafer wrote:
>  
>
>>I got this error message while creating a server certificate:
>>
>>Suse:~ # openssl req -new  -subj '/CN=OfficeRunner.local Par - keyout
>>OR-key.pem -out OR-req.pem -days 3650'
>>    
>>
>
>Whether right quote is at place expected or it shoul be before keyout?
>  
>
Not sure if I understood you correctly, but I tried this which is an
earlier variation of the command. I did, however move the quote (') to
where I understood that you said it should have gone.
Suse:/etc/postfix # openssl req -new -nodes -subj
'/CN=OfficeRunner.local/O=OfficeRunner/C=ZA Par' -keyout OR-key.pem -out
OR-req.pem -days 3650
Generating a 1024 bit RSA private key
..................................++++++
....++++++
writing new private key to 'OR-key.pem'
-----
problems making Certificate Request
6481:error:0D07A097:asn1 encoding routines:ASN1_mbstring_copy:string too
long:a_mbstr.c:154:maxsize=2

Thanks again

Brendon
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: problems making Certificate Request

Rich Salz
> Suse:/etc/postfix # openssl req -new -nodes -subj
> '/CN=OfficeRunner.local/O=OfficeRunner/C=ZA Par' -keyout OR-key.pem -out
> OR-req.pem -days 3650

This command-line syntax is correct.

The problem is that the C=xx field is only allowed to be a two-letter
country code.  What is "Par" ?

        /r$

--
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: problems making Certificate Request

Brendon Schafer
Rich Salz wrote:

>>Suse:/etc/postfix # openssl req -new -nodes -subj
>>'/CN=OfficeRunner.local/O=OfficeRunner/C=ZA Par' -keyout OR-key.pem -out
>>OR-req.pem -days 3650
>>    
>>
>
>This command-line syntax is correct.
>
>The problem is that the C=xx field is only allowed to be a two-letter
>country code.  What is "Par" ?
>
> /r$
>
>  
>
LOL. It's a printing error. I printed this tutorial:
http://souptonuts.sourceforge.net/postfix_tutorial.html
The location (/L=Elkins Park' only printed Par. then wrapped to the next
line -keyout ....

Thanks for showing me correct.

Cheers

Brendon
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re:openssl compilation for mips

vijay basav
hi
this was the string i used in configure file
 
"vxworks-mipsle","ccmips:-B\$(WIND_BASE)/host/\$(WIND_HOST_TYPE)/lib/gcc-lib/ -a
nsi -nostdlib -DB_ENDIAN -EB -Wl,-EB -mips2 -mno-branch-likely -G0 -fno-builtin
-msoft-float -DCPU=MIPS32 -DMIPSEL -DNO_STRINGS_H -I\$(WIND_BASE)/target/h -I\$(
WIND_BASE)/host/x86-win32/i386-pc-mingw32/sys-include:::VXWORKS:-r::::::::::::::
::ranlibmips:"
 
 
hope this solves ur problem
regards
vijay


Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
Reply | Threaded
Open this post in threaded view
|

Re:openssl compilation for mips

vijay basav
In reply to this post by Brendon Schafer
hi
this was the string i used in configure file
 
"vxworks-mipsle","ccmips:-B\$(WIND_BASE)/host/\$(WIND_HOST_TYPE)/lib/gcc-lib/ -a
nsi -nostdlib -DB_ENDIAN -EB -Wl,-EB -mips2 -mno-branch-likely -G0 -fno-builtin
-msoft-float -DCPU=MIPS32 -DMIPSEL -DNO_STRINGS_H -I\$(WIND_BASE)/target/h -I\$(
WIND_BASE)/host/x86-win32/i386-pc-mingw32/sys-include:::VXWORKS:-r::::::::::::::
::ranlibmips:"
 
 
 
hope this solves ur problem
regards
vijay


Start your day with Yahoo! - make it your home page