Assuming its a binary file try:

openssl pkcs8 -in key.bin -inform DER -nocrypt
openssl pkcs8 -in key.bin -inform DER

if neither works see what:

openssl asn1parse -inform DER -in key.bin

produces on a test key (i.e. not anything important).

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Gemplus: http://www.gemplus.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


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

Reply via email to