Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: IMAP/SSL with gnus
Date: Thu, 08 Aug 2002 01:00:07 +0200	[thread overview]
Message-ID: <ilusn1qtgug.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87n0ryqoax.fsf@pale.loc> (Alexander Kotelnikov's message of "Thu, 08 Aug 2002 02:47:18 +0400")

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.

Hm, it seems to be unimplemented.  ssl-accept-ca-certificate prompts
the user, but it isn't called from anywhere.

Do you need to be prompted?  Simply installing your CA so that OpenSSL
finds it should be enough, I think.  With "reject on fail", you can't
login unless the server certificate verifies correctly, so it is
almost like a prompt. :-)




  reply	other threads:[~2002-08-07 23:00 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 [this message]
2002-08-08 17:16       ` Alexander Kotelnikov
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=ilusn1qtgug.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /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).