David Lonie | 25 Jul 2009 16:17
Picon
Gravatar

[mew-int 2710] Gmail: Creating an SSL/TLS connection...FAILED (cert verify failure)

Hi,

I've been interested in reading my gmail in emacs for a while (and
have attempted this many times), but this time I'm committed to making
it work! I've tried using gnus in the past, but someone on #emacs
recommended mew, and configuration has been much simpler.

However, I'm still running into a problem -- when I start mew, I'm
prompted to C-u Z to collect IMAP folders. I do this, and I get the
error: Creating an SSL/TLS connection...FAILED (cert verify failure)

Is this a mew configuration issue? Is it a stunnel problem? I'm not
very familiar with stunnel -- I'm on gentoo, and starting stunnel as a
service gives this error:

dl <at> gentoo-server:~$ sudo /etc/init.d/stunnel start
 * Starting stunnel ...
2009.07.25 10:15:56 LOG7[10994:139798285924080]: Snagged 64 random
bytes from /home/dl/.rnd
2009.07.25 10:15:56 LOG7[10994:139798285924080]: Wrote 1024 new random
bytes to /home/dl/.rnd
2009.07.25 10:15:56 LOG7[10994:139798285924080]: RAND_status claims
sufficient entropy for the PRNG
2009.07.25 10:15:56 LOG7[10994:139798285924080]: PRNG seeded successfully
2009.07.25 10:15:56 LOG7[10994:139798285924080]: Certificate:
/etc/stunnel/stunnel.pem
2009.07.25 10:15:56 LOG7[10994:139798285924080]: Certificate loaded
2009.07.25 10:15:56 LOG7[10994:139798285924080]: Key file:
/etc/stunnel/stunnel.pem
2009.07.25 10:15:56 LOG7[10994:139798285924080]: Private key loaded
(Continue reading)

vvoody | 25 Jul 2009 16:26
Favicon

[mew-int 2711] Re: Gmail: Creating an SSL/TLS connection...FAILED (cert verify failure)

On Sat, 25 Jul 2009 22:17:59 +0800, David Lonie <loniedavid <at> gmail.com>  
wrote:

> Hi,
>
> I've been interested in reading my gmail in emacs for a while (and
> have attempted this many times), but this time I'm committed to making
> it work! I've tried using gnus in the past, but someone on #emacs
> recommended mew, and configuration has been much simpler.
>
> However, I'm still running into a problem -- when I start mew, I'm
> prompted to C-u Z to collect IMAP folders. I do this, and I get the
> error: Creating an SSL/TLS connection...FAILED (cert verify failure)
>

Hi, David.
Add the following to your .emacs:

(setq mew-ssl-verify-level 0)

--

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

vvoody | 25 Jul 2009 16:30
Favicon

[mew-int 2712] Re: Gmail: Creating an SSL/TLS connection...FAILED (cert verify failure)

On Sat, 25 Jul 2009 22:28:56 +0800, David Lonie <loniedavid <at> gmail.com>
wrote:

> On Sat, Jul 25, 2009 at 10:26 AM, vvoody<vvoody <at> qq.com> wrote:
>> On Sat, 25 Jul 2009 22:17:59 +0800, David Lonie <loniedavid <at> gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I've been interested in reading my gmail in emacs for a while (and
>>> have attempted this many times), but this time I'm committed to making
>>> it work! I've tried using gnus in the past, but someone on #emacs
>>> recommended mew, and configuration has been much simpler.
>>>
>>> However, I'm still running into a problem -- when I start mew, I'm
>>> prompted to C-u Z to collect IMAP folders. I do this, and I get the
>>> error: Creating an SSL/TLS connection...FAILED (cert verify failure)
>>>
>>
>> Hi, David.
>> Add the following to your .emacs:
>>
>> (setq mew-ssl-verify-level 0)
>
> That did it! Thanks a lot :)
>
> Dave

You are welcome ;-)

(Continue reading)


Gmane