Re: Signing & Verifying with S/MIME

2002-06-12 Thread Averroes
Hi Daniel, OK the signed message is in pkcs7, then it is sufficient to read this pkcs7 in PEM format and print out the signing certificate. with openssl smime you may choose the output format SMIME, PEM and DER Voila! "Daniel H. Gomes" wrote: > Hi Averroes, > > I did that and it worked fine,

Re: Signing & Verifying with S/MIME

2002-06-11 Thread Averroes
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 a

Signing & Verifying with S/MIME

2002-06-11 Thread Daniel H. Gomes
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