On Wed, Dec 28, 2005, George Garvey wrote: > I'm having a very similar problem as this one. > I have a file I made from data sent from an AS2 system. The HTTP > headers before the data are (abbreviated to the S/MIME stuff): > Subject: EDIINTDATA > Message-Id: <[EMAIL PROTECTED]> > Disposition-Notification-To: inXServices > Disposition-Notification-Options: > signed-receipt-protocol=optional,pkcs7-signature; > signed-receipt-micalg=optional,sha1 > Content-Type: application/pkcs7-mime; smime-type=enveloped-data; > name="smime.p7m" > Content-Disposition: inline; filename="smime.p7m" > Content-Length: 1334 > > I saved the 1334 bytes after the blank line following the > Content-Length to a file. I can't seem to use that file with OpenSSL. >
You should be able to use the "smime" utility on the whole message including headers for example: openssl smime -verify -in message or to output a standard PKCS#7 structure in PEM format: openssl smime -pk7out -in message then the standard "pkcs7" utility should tolerate it. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
