On Fri, Feb 01, 2008 at 02:46:34PM +0100, Peter Van Biesen wrote: > Hi, > > our customers need to send sensitive information to us using s/mime. To this > end, they use a java application that uses the bouncycastle java api to > generate the message. However, when I try to verify such a message openssl > gives me an error. The client- and the serverapplication seem to be able to > verify and decrypt the message successfully but with openssl this does not > work. > > [EMAIL PROTECTED]:~$ openssl smime -in 050603-154-29.a0e -verify > Verification failure > 17179:error:21075071:PKCS7 routines:PKCS7_verify:wrong content > type:pk7_smime.c:187: > > I have attached the mimepart ( as you do not have the private key, you should > be unable to decrypt it anyway ... ). > > The developers of the application claim this is a valid smime message. > > I have been trying all week now with openssl and no commandline option seem > to > be able to tell me what it really is.
You verify the entire message. S/MIME is a MIME message, not a MIME part. -- Viktor. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]