[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with elmo-network-initialize-session
At Mon, 11 Apr 2011 09:01:53 -0400,
Vitaly Mayatskikh wrote:
>
> What do you have as ssl-program-name, ssl-program-arguments and
> ssl-certificate-verification-policy?
>
ssl-program-name
"openssl"
ssl-program-arguments
("s_client" "-quiet" "-host" host "-port" service "-verify" (int-to-string ssl-certificate-verification-policy) "-CApath" ssl-certificate-directory)
ssl-certificate-verification-policy
0
ssl-certificate-directory
"~/.w3/certs/"
And here's what happens when I run the command I guess wl will generate:
$ openssl s_client -host imap.gmail.com -port 993 -verify 0 -CApath ~/.w3/certs/
verify depth is 0
CONNECTED(00000003)
depth=1 C = US, O = Google Inc, CN = Google Internet Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
140294090778280:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:1059:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 1659 bytes and written 7 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : SSLv3
Cipher : 0000
Session-ID: ***
Session-ID-ctx:
Master-Key:
Key-Arg : None
PSK identity: None
PSK identity hint: None
Start Time: 1302528546
Timeout : 7200 (sec)
Verify return code: 0 (ok)
---
I've tried different values for -verify and it seems that 3 works for
all my IMAP servers.
So I did M-x customize-variable RET ssl-certificate-verification-policy
and set it to 3 (SSL_VERIFY_CLIENT_ONCE).
It all seems to be working now.
It would interesting to know what's happened. Might I have
accidentally changed the value of ssl-certificate-verification-policy
to 0? Or might several of the IMAP servers I use recently changed
their policy on verification?
Best,
Richard
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
ISMS, Computing
Goldsmiths, University of London
Tel: +44 (0)20 7078 5134
Skype: richardjlewis
JID: ironchicken@jabber.earth.li
http://www.richardlewis.me.uk/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sent from my [insert device/mail client here]