hi..

even if it is a certificate request, 'rsa' command can handle it.

I think the start line of the key may be corrupted (im not sure )
u may try to create a new key and test the same.

Samy







"Mark" <[EMAIL PROTECTED]>

Sent by:
[EMAIL PROTECTED]

12.01.2006 10:32

Please respond to
openssl-users@openssl.org

To
openssl-users@openssl.org
cc
Subject
RE: problems using rsa
Classification





Hi,

> > openssl rsa <newreq.pem >  servidor-key.pem
> > but i get this error:
> >
> > unable to load Private Key
> > 5237:error:0906D06C:PEM routines:PEM_read_bio:no start
> > line:pem_lib.c:644:Expecting: ANY PRIVATE KEY
>
> How did you create your private key?

Ignore this question.  If newreq.pem is a certificate request then
I would not expect the rsa command to cope with it.  What are you
trying to achieve here?

To create a certificate from a request you need to do something like
this:

# openssl ca -in newreq.pem -out certificate.pem -notext -batch

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

Reply via email to