Mahesh Anantharaman wrote:
>
> Hi
>
> I am trying to verify a message using openssl smime.
> openssl smime -verify -in mail.msg -signer user.pem -out signedtext.txt
> how will I obtain 'user.pem'. I have the users .p7c file from verisign.
You don't: check the manual. When using verify -signer *writes* the
signers certificate to the file given. This is useful for sending
subsequent encrypted mail (provided the signers certificate is the same
as the encryption cert).
What you need is the CA certificate(s) in the usual directory or single
file specified by the -CApath or -CAfile arguments.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]