<<< Date Index >>>     <<< Thread Index >>>

Re: S/MIME-verification



On Tue, Jun 01, 2004 at 11:28:23PM +0200, Heiko Heil wrote:
> when I try to open a signed and encrypted mail, the following
> openssl(?)-ouput appears (after entering my smime-passphrase):
> 
>   [-- OpenSSL output follows (current time: Mon May 31 16:11:09 2004) --]
>   No recipient certificate and key specified
>   Usage smime [options] cert.pem ...
>   where options are
>   [...]
> 
> (Status-line: S/MIME signature could NOT be verified.)
[...]
> Can anyone tell me, what's wrong with my configuration?

Did you run "smime_keys init"?

On Wed, Jun 02, 2004 at 08:09:06PM +0200, Heiko Heil wrote:
> one additional question: Is it possible to "debug" (-> display) the
> openssl-calls?

Write a wrapper script around openssl that logs all parameters (and
possibly stdin- / stdoutput) before calling openssl proper. Put this
script in some directory <dir> and prepend <dir> to your PATH.

Or replace any "openssl" in your configuration file by the full path
to your wrapper.

HTH

Christoph