On Wed, Aug 31, 2005, Cleidson wrote:

> Hi,
> I have the same problem with my private keys (I have a proprietary software
> that produce a private key, and I wanna use it in Openssl), but I used the
> command
> "openssl asn1parse -inform DER -in file.key" and I got this:
> 
>     0:d=0  hl=4 l= 630 cons: SEQUENCE
>     4:d=1  hl=2 l=   1 prim: INTEGER           :00
>     7:d=1  hl=2 l=  13 cons: SEQUENCE
>     9:d=2  hl=2 l=   9 prim: OBJECT            :rsaEncryption
>    20:d=2  hl=2 l=   0 prim: NULL
>    22:d=1  hl=4 l= 608 prim: OCTET STRING
> 
> Any help will be appreciated.
> 

Looks like PKCS#8 unencrypted format. Try:

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

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to