Yeah, that was the problem. RC2 was disabled in the build. Thanks, -binlu
-----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: Tuesday, April 03, 2012 1:59 PM To: openssl-users@openssl.org Subject: Re: pkcs12 error On Tue, Apr 03, 2012, Bin Lu wrote: > Hi, > > When I tried the pkcs12 command (as below) in openssl 1.0.1, it gave me the > following error. > The same command worked fine in openssl 0.9.8d. Any idea? > > $ openssl pkcs12 -export -in test.cer -inkey test.key -out test.p12 > Enter pass phrase for test.key: > Enter Export Password: > Verifying - Enter Export Password: > 3085185856:error:060740A0:digital envelope > routines:EVP_PBE_CipherInit:unknown cipher:evp_pbe.c:186: > 3085185856:error:23077073:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 algor > cipherinit error:p12_decr.c:83: > 3085185856:error:2306C067:PKCS12 routines:PKCS12_item_i2d_encrypt:encrypt > error:p12_decr.c:175: > 3085185856:error:23073067:PKCS12 routines:PKCS12_pack_p7encdata:encrypt > error:p12_add.c:202: > > Has that version of OpenSSL disabled anhy algorithm such as RC2? If not try printing out the value of "cipher_nid" it doesn't like in that function. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org