Hi Daniel,

Try this and change according your settings

# verify the signature
[averroes@dev PWC]$ openssl smime -pk7out \
-in ../trash/messages-22-11-2001.sig | openssl pkcs7 -print_certs -noout

Regards

#--------
Averroes

"Daniel H. Gomes" wrote:

> Hi,
>
> I've signed an S/MIME message and after i tryed to verify the same message
> and I got an error:
> "Verification Failure
> 116:error:21071065:PKCS7 routines:PKCS7_signatureVerify:digest
> failure:openssl-0.9.6c\crypto\pkcs7\pk7_doit.c:769:116:error:21075069:PKCS7
> routines:PKCS7_verify:signature
> failure:openssl-0.9.6c\crypto\pkcs7\pk7_smime.c:256:"
>
> digest failure ? strange, the commands I gave, sequentaly, are:
>
> 1. openssl smime -sign -in in.txt -out Signed.txt -signer c1.pem
> 2. openssl smime -verify -in Signed.txt -out Verifyed.txt -CApath certs
> -certfile c1.cer
>
> Digest failure means that the message has been changed, but that is not the
> case.
> Can anyone explain what might be causing this error,
>
> Thanks,
> DG.
>
> ---------------------------------------
> Daniel H. Gomes                     THINK - Tecnologias de Informacao
> [EMAIL PROTECTED]             http://www.think.pt
>
> Tel: +351.919.056.640 ou +351.213.590.285
> Fax: +351.213.580.006
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to