Using sample config from e.g. https://wiki.archlinux.org/index.php/Isync

ubuntu@enormous-maggot:~$ grep VERSION /etc/os-release 
VERSION="18.10 (Cosmic Cuttlefish)"
VERSION_ID="18.10"
VERSION_CODENAME=cosmic
ubuntu@enormous-maggot:~$ dpkg-query -W isync
isync   1.3.0-1build1
(reverse-i-search)`isy': sudo apt install ^Cync/cosmic
ubuntu@enormous-maggot:~$ mbsync -V -l gmail -c test-mbsyncrc -a
Reading configuration file /home/ubuntu/.mbsyncrc
No channel or group named '-c' defined.
No channel or group named 'test-mbsyncrc' defined.
No channel or group named '-a' defined.
Channel gmail
Opening master store gmail-remote...
Resolving imap.gmail.com... ok
Connecting to imap.gmail.com (74.125.133.109:993)... 
Opening slave store gmail-local...
SSL error connecting imap.gmail.com (74.125.133.109:993): self signed 
certificate

Upgrading to:
$ dpkg-query -W isync
isync   1.3.0-1ubuntu0.18.10.0

$ mbsync -V -l gmail -c test-mbsyncrc -a
Reading configuration file /home/ubuntu/.mbsyncrc
No channel or group named '-c' defined.
No channel or group named 'test-mbsyncrc' defined.
No channel or group named '-a' defined.
Channel gmail
Opening master store gmail-remote...
Resolving imap.gmail.com... ok
Connecting to imap.gmail.com (74.125.133.109:993)... 
Opening slave store gmail-local...
Connection is now encrypted
Logging in...
Authenticating with SASL mechanism PLAIN...
IMAP command 'AUTHENTICATE PLAIN <authdata>' returned an error: NO 
[AUTHENTICATIONFAILED] Invalid credentials (Failure)

And "connection is now encrypted" -> ssl coonection is established
meaning SNI is now used correctly, and the (on purpose) invalid password
is rejected by remote server.

** Tags removed: verification-needed-cosmic
** Tags added: verification-done-cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812667

Title:
  Can't verify some ssl certificates (e.g. imap.gmail.com)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isync/+bug/1812667/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to