You have to provide private key file also along with certificate.
It can be within your certificate file w.crt or u can provide the private
key file separately  using -inkey option.

Try using -inkey option

Ravi


On Wed, 17 Oct 2001, Juan Carlos Albores Aguilar wrote:

> i'm trying to create a p12 file from a pem file (a .crt file) and i get
> the follow error message:
> 
> openssl pkcs12 -export -in w.crt -out w.p12 -name "micert"
> 
> Error loading private key
> 995:error::PEM routines:PEM_read_bio:no start
> line:pem_lib.c:662:Expecting: ANY PRIVATE KEY
> 
> i did this where i have the privates keys and nothing, is something
> wrong in my instruction???, any clue will help, is there another way to
> do this??, thanks.
> 
> juan carlos albores
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
> 

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

Reply via email to