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