From: Alexander Kotelnikov <sacha@giotto.sj.ru>
Subject: Re: IMAP/SSL with gnus
Date: Thu, 08 Aug 2002 21:16:39 +0400 [thread overview]
Message-ID: <87it2l6zk8.fsf@giotto.sj.ru> (raw)
In-Reply-To: <ilusn1qtgug.fsf@latte.josefsson.org> (Simon Josefsson's message of "Thu, 08 Aug 2002 01:00:07 +0200")
>>>>> On Thu, 08 Aug 2002 01:00:07 +0200
>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
SJ>
SJ> Alexander Kotelnikov <sacha@giotto.sj.ru> writes:
>>>>>>> On Wed, 07 Aug 2002 18:34:50 +0200
>>>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
SJ>
SJ> Alexander Kotelnikov <sacha@giotto.sj.ru> writes:
>>>> How do I force gnus to ask me, if I accept SSL sertificate from imap
>>>> server?
SJ>
SJ> Look into ssl.el, in particular `ssl-certificate-verification-policy'.
SJ> Interactivity and prompting is poor. The builtin TLS support would
SJ> have help.
>>
>> I have
>> (imap-ssl-program (quote ("openssl s_client -ssl3 -connect %s:%p")))
>> (ssl-certificate-verification-policy 3) ; reject on fail
>> (ssl-program-arguments (quote ("s_client" "-host" host "-port" service "-verify" (int-to-string ssl-certificate-verification-policy) "-CApath" ssl-certificate-directory)))
>> And gnus do not ask my, if I would like to accept a certificate.
SJ>
SJ> Hm, it seems to be unimplemented. ssl-accept-ca-certificate prompts
SJ> the user, but it isn't called from anywhere.
SJ>
SJ> Do you need to be prompted? Simply installing your CA so that OpenSSL
SJ> finds it should be enough, I think. With "reject on fail", you can't
SJ> login unless the server certificate verifies correctly, so it is
SJ> almost like a prompt. :-)
I do not see any other way to avoid IP spoofing with successive
password grabbing.
May be to switch to (nnimap-stream shell) with ssh, but it do not work
for me, may be some tweaking is needed.
--
Alexander Kotelnikov
Saint-Petersburg, Russia
next prev parent reply other threads:[~2002-08-08 17:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-07 16:22 Alexander Kotelnikov
2002-08-07 16:34 ` Simon Josefsson
2002-08-07 22:47 ` Alexander Kotelnikov
2002-08-07 23:00 ` Simon Josefsson
2002-08-08 17:16 ` Alexander Kotelnikov [this message]
2002-08-08 17:53 ` Simon Josefsson
2002-08-08 18:03 ` Alexander Kotelnikov
2002-08-08 19:14 ` Simon Josefsson
2002-08-12 18:46 ` Alexander Kotelnikov
2002-08-12 20:51 ` Andi Hechtbauer
2002-08-12 21:14 ` Simon Josefsson
2002-08-12 21:13 ` Simon Josefsson
2002-08-12 21:45 ` Alexander Kotelnikov
2002-08-13 8:37 ` Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87it2l6zk8.fsf@giotto.sj.ru \
--to=sacha@giotto.sj.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).