unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Emacs and TLS support (Lars Magne Ingebrigtsen)
@ 2010-09-27 10:43 dhruva
  0 siblings, 0 replies; only message in thread
From: dhruva @ 2010-09-27 10:43 UTC (permalink / raw)
  To: emacs-devel

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> To: emacs-devel@gnu.org
> Date: Mon, 27 Sep 2010 10:00:39 +0200
> Subject: Re: Emacs and TLS support
> dhruva <dhruvakm@gmail.com> writes:
>
>> Now, I try to cajole gnus to use starttls, it just refuses to use it
>> and keeps defaulting to gnutls-cli or openssl. This is when I stopped
>> and decided to take a break.
>
> This is controlled by `tls-program'.
>
> Guessing from your description of the problem, I'd say the most likely
> problem is an invalid certificate on the IMAP server, which means that
> you want:
>
> (setq tls-program '("gnutls-cli --insecure -p %p %h"))
>

Dumb on my part, I realized our server uses 'imap' and not 'imaps'. I
guess the default in gnus
has changed from 'imap' to 'imaps'. Starttls I guess figures out and
does the right thing where as
gnutls-cli barfs if the endpoint does not support secure communication.

Just setting nnimap-stream to network works for me!

Thanks,
dhruva



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-27 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-27 10:43 Emacs and TLS support (Lars Magne Ingebrigtsen) dhruva

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).