Hi,

I was trying to convert the ra cert from pem format to p12 so that I can use 
it in Netscape mail for decryption.

First of all i couldnot find the ra cert in the 
/home/pkira/public_html/pavansura/openca-0.9.1/OpenCA/var/crypto/certs 
directory even though I did do "Import ALL" from the ra server and also 
added to Ldap...

I just see a lastImport.txt file

So I did "tar -xvf" to the openca-outca.tar file and went to 
../CERTIFICATE/VALID directory where i fould the 1.pem (CA Operator) and 
2.pem (RA)

When i type on unix:
openssl pkcs12 -export -out ra_cert.p12 -in 2.pem
I get the following error
=======================================================
Error loading private key
2216:error:0906D066:PEM routines:PEM_read_bio:bad end line:pem_lib.c:762:
=======================================================

Where is the private key ? when i opened the 2.pem i see the key encrypted 
inside the certificate file..

In the actual command I should be providing the "-inkey userkey.pem" option 
but since I didnot find any key file I didnot use this option...

I was expecting it to ask for the password..for RA that I saved when 
creating the RA cert and CA Operator...? but I got this error..

Any pointers..

Thanks for the help..

Pavan Sura
Masters in Computer Science
Old Dominion University
Norfolk, Virginia.
Email: [EMAIL PROTECTED]


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to