Hi,

I use the smime utility to sign a message and output it in PEM format:

openssl smime -sign -in req.csr -outform PEM -out mail.pem -signer \ mycert.pem -inkey mykey.pem

When trying to verify it, I get a failure:

openssl smime -verify -inform PEM -in mail.pem -CAfile CAstore
Verification failure
17732:error:2107507A:PKCS7 routines:PKCS7_verify:no \ content:pk7_smime.c:172:

The CAstore file contains the necessary CA certs.
When I drop the inform/outform PEM in both commands, everything works smoothly - so what did I get wrong?

Gerd

--
------------------------------------------------------
-- Gerd Schering, Email: [EMAIL PROTECTED] --
------------------------------------------------------


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

Reply via email to