[Alpine-info] S/MIME not working with alpine

Rohan Jain crodjer at gmail.com
Sun Aug 21 11:40:12 PDT 2011


I am trying to get my mail privacy certificate (comodo) to work with
alpine. I created the private key, public and ca certificates by
using the `openssl pkcs12` tool.

After taking a look into the openssl documentation, I used the
following commands for generating the key and ceritficates in the
.alpine-smime directory

openssl pkcs12 -nocerts -in emailaddress.p12 -out private/emailaddress.key
openssl pkcs12 -cacerts -in emailaddress.p12 -out ca/emailaddress.crt
openssl pkcs12 -clcerts -in emailaddress.p12 -out public/emailaddress.crt

I provided the correct password and tried it with and without a paraphrase.
But still when ever I select sign (G), to sign the mail with my certificate
it gives me this error:

[Couldn't find the certificate needed to sign.]

There was another post similar to this
(http://osdir.com/ml/mail.alpine.alpha/2008-09/msg00007.html) which
suggested using strace to deal with this.

I tried that and found out that all my certificate files were being
opened up OK in readonly mode. But I could not make much more out
of the log.

How can I go forward about debuging the problem futher? Has anyone else
experienced this?

------
Operating System:
Debian Sid

Alpine version details:

Package: alpine
New: yes
State: installed
Automatically installed: no
Version: 2.02-3+b1
Priority: optional
Section: mail
Maintainer: Asheesh Laroia <asheesh at asheesh.org>
Uncompressed Size: 6,967 k
Depends: libc6 (>= 2.3.4), libgssapi-krb5-2 (>= 1.8+dfsg), libkrb5-3 (>=
1.6.dfsg.2), libldap-2.4-2 (>= 2.4.7), libncurses5 (>= 5.5-5~), libpam0g
(>= 0.99.7.1),
libssl1.0.0 (>= 1.0.0)
Recommends: alpine-doc
Suggests: aspell, mail-transport-agent | exim4
Conflicts: pine
Replaces: pine
Description: Text-based email client, friendly for novices but
powerful
Alpine is an upgrade of the well-known PINE email client. Its
name derives from the use of the Apache License and its ties
to PINE.

It features a full suite of support for mail protocols like
IMAP and SMTP and security protocols like TLS. It uses
curses for its interface.
Homepage: http://sourceforge.net/projects/re-alpine/

Rohan Jain


More information about the Alpine-info mailing list