Hi,

This kind of error (MAC verification failure) usually indicates that the given password is incorrect. Check your password in the code, maybe there is some encoding problems (ASCII vs UTF8). You can also try to open your pkcs#12 file using another application, like Firefox, to see if it's able to open it using this password.

Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr

On 8/11/2010 5:14 PM, Sashi Dutt wrote:
Hello,

I was wondering if any of you guys ran into the below error and provide some
guidance/assistance?

8980:error:23076071:PKCS12 routines:PKCS12_parse:mac verify
failure:p12_kiss.c:121:

<code>

p12 = d2i_PKCS12_fp(fp, NULL);
   if (!PKCS12_parse(p12, "password",&pkey,&x509,&ca))

</code>

Basically, I am trying to read in a string, sign it and return its signature
value.

Thanks,

Sashi


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to