Re: SSL connection error

2016-12-08 Thread Oswald Buddenhagen
On Thu, Dec 08, 2016 at 03:56:32PM +0100, Claus-Michael Schlesinger wrote: > it seems that the authentication error might still be due to the ssl problem. > no, that's unrelated. ssl works at a different layer than the authentication. it appears that SASL PLAIN authentication isn't working with thi

Re: SSL connection error

2016-12-08 Thread Claus-Michael Schlesinger
Hi, thanks for the reading and the hint - you are absolutely right. I didn't know that s_client connects despite a broken certificate chain (I'm new to this stuff and never had to look into it that deep). So I rechecked with openssl s_client and indeed, openssl can't verify the first certific

Re: SSL connection error

2016-12-08 Thread Markus
Am Thu, 08. Dec 16 - 13:42:29 schrieb Claus-Michael Schlesinger: > [...] > > 2) straced mbsync and openssl s_client -connect --> it seems to me > that both programs try to call the same local cert data without > finding anything (the two certificate both programs look for in > /etc/ssl/certs/ don'

Re: SSL connection error

2016-12-08 Thread Claus-Michael Schlesinger
Hi Oswald, thank you for the explanation and for the hints about how to deal with the problem. I followed your propositions, the workaround you proposed seems to be working; this is what I found (just in case it is of any interest for you) 1) checked with ldd --> same libssl version (libssl.so.

Re: SSL connection error

2016-12-08 Thread Oswald Buddenhagen
On Wed, Dec 07, 2016 at 12:11:35PM +0100, Claus-Michael Schlesinger wrote: > SSL error connecting mbox.uni-stuttgart.de (129.69.1.9:996): unable to get > local issuer certificate > > Connecting with openssl s_client still works fine. > this suggests that mbsync is for some reason using different

Re: SSL connection error

2016-12-07 Thread Claus-Michael Schlesinger
Hi, I pulled isync from the master branch and installed it, the error message now reads: SSL error connecting mbox.uni-stuttgart.de (129.69.1.9:996): unable to get local issuer certificate Connecting with openssl s_client still works fine. The server setup is a bit tricky though: The IMAP ser

Re: SSL connection error

2016-12-07 Thread Oswald Buddenhagen
On Tue, Dec 06, 2016 at 12:40:07PM +0100, Claus-Michael Schlesinger wrote: > Is there anything I can do on my side to fix this problem? > try pulling from git 1.2 or master branch - i fixed that error message somewhat recently. that won't fix the problem, but at least it should be better diagnosab

SSL connection error

2016-12-06 Thread Claus-Michael Schlesinger
Hi, I'm having trouble connecting to a specific IMAP server. When trying to connect with mbsync -V or mbsync -Dn I am getting the following error message: Reading configuration file /home/cms/.mbsyncrc Channel arbeit Opening master store stgt-remote... Resolving mbox.uni-stuttgart.de... ok Conne

[commit] master: fix crash in ssl connection error path

2013-03-17 Thread Oswald Buddenhagen
commit b0f94fd66826b55a142edc088ad2a6415147ef3b Author: Oswald Buddenhagen Date: Sun Mar 17 14:32:06 2013 +0100 fix crash in ssl connection error path not a good idea to invoke the callback twice ... src/socket.c |9 + 1 files changed, 1 insertions(+), 8 deletions