Hi all,

I am using openssl on a script in order to sign a
binary file, my problem was that I cant verify
yesterday files signed.

I have signed today a file and after that it has been
verified, but with another days files I have the next
error:

Verification failure
23481:error:21071065:PKCS7
routines:PKCS7_signatureVerify:digest failure:pk7_doi
t.c:809:
23481:error:21075069:PKCS7
routines:PKCS7_verify:signature failure:pk7_smime.c:2
65:

Those are the sentences used to sign and to verify:

/usr/local/ssl/bin/openssl smime -sign -binary
-outform PEM -in $ARCHIVO_ORIGINAL -out
$ARCHIVO_FIRMADO -signer $PATH_CERT/$MI_CERT -inkey
$PATH_CERT/$MI_KEY

/usr/local/ssl/bin/openssl smime -verify -noverify -in
cup2004051013140165.fil.sig  -inform PEM -signer
firmante.pem -content cup2004051013140165.fil >
/dev/null

I hope that somebody will have the solution.

Thank you very much.


                
______________________________________________________________________
Correo Yahoo! - 6MB, más protección contra el spam ¡Gratis!
http://correo.yahoo.es
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to