Gmail SSl certificat error
Pétùr
peturvilj at gmail.com
Tue Aug 28 15:12:35 BST 2018
No one is affected ?
In fact, Gmail emails are not downloaded.
Pétùr
Le sam. 25 août 2018 à 12:30, Pétùr <peturvilj at gmail.com> a écrit :
> Hi,
>
> I have a certificat error for Gmail. Emails seems to be downloaded
> anyway. It was working without error before.
>
> How can I fix it?
>
>
> $ offlineimap -o
> OfflineIMAP 7.2.1
> Licensed under the GNU GPL v2 or any later version (with an OpenSSL
> exception)
> ERROR: Exceptions occurred during the run!
> ERROR: Unknown SSL protocol connecting to host 'imap.gmail.com' for
> repository 'Gmail-Remote'. OpenSSL responded:
> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> (_ssl.c:726)
>
> Traceback:
> File "/usr/share/offlineimap/offlineimap/accounts.py", line 283, in
> syncrunner
> self.__sync()
> File "/usr/share/offlineimap/offlineimap/accounts.py", line 359, in
> __sync
> remoterepos.getfolders()
> File "/usr/share/offlineimap/offlineimap/repository/IMAP.py", line
> 452,
> in getfolders
> imapobj = self.imapserver.acquireconnection()
> File "/usr/share/offlineimap/offlineimap/imapserver.py", line 633, in
> acquireconnection
> exc_info()[2])
> File "/usr/share/offlineimap/offlineimap/imapserver.py", line 547, in
> acquireconnection
> af=self.af,
> File "/usr/share/offlineimap/offlineimap/imaplibutil.py", line 194,
> in
> __init__
> super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 2183, in
> __init__
> IMAP4.__init__(self, host, port, debug, debug_file, identifier,
> timeout, debug_buf_lvl)
> File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 361, in
> __init__
> self.open(host, port)
> File "/usr/share/offlineimap/offlineimap/imaplibutil.py", line 202,
> in open
> super(WrappedIMAP4_SSL, self).open(host, port)
> File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 2196, in
> open
> self.ssl_wrap_socket()
> File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 548, in
> ssl_wrap_socket
> self.sock = ssl.wrap_socket(self.sock, self.keyfile, self.certfile,
> ca_certs=self.ca_certs, cert_reqs=cert_reqs, ssl_version=ssl_version)
> File "/usr/lib/python2.7/ssl.py", line 949, in wrap_socket
> ciphers=ciphers)
> File "/usr/lib/python2.7/ssl.py", line 617, in __init__
> self.do_handshake()
> File "/usr/lib/python2.7/ssl.py", line 846, in do_handshake
> self._sslobj.do_handshake()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20180828/6c9859a2/attachment-0003.html>
More information about the OfflineIMAP-project
mailing list