Etienne Loupias wrote:
> 
>  Hi,
> 
>  I tried with different ciphers (NID_pbe_WithSHA1And3_Key_TripleDES_CBC,
> EVP_des_ede3_cbc, ...). But with these PKCS#8, Netscape cannot create a
> correct PKCS#12 file (Netscape crashes when I try to import the p12 file it
> has created...).
> 
>  How to create the PKCS#8 for Netscape ?
> 

You should create a PrivateKeyInfo structure containing the private key
and encrypt it using the key supplied. Then return the
encrypted stream. Netscape should then package that up in an appropriate
manner.

This is a bit OT, if you want more details, I suggest you move the
discussion to one of the OpenSSL groups.

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


Reply via email to