SSL certs

Kereoz kereoz at breizh-entropy.org
Wed Mar 16 02:02:00 GMT 2011


On Tue, Mar 15, 2011 at 10:19:55AM +0100, Sebastian Spaeth wrote:
   routines:X509_load_cert_crl_file:system lib
> 
> So a different error, but an error nonetheless. I will supply a patch to
> fix that one. Can you see if making the path absolute fixes things
> already?
> 
> Sebastian

Hi,

thanks for your answer. It does actually make errors understandable :).

Here is what I get (git code) with a (probably, haven't checked yet) wrong certificate pointed by an absolute path. I'll make further tests later and let you know.

 ***** Processing account MLs
 Copying folder structure from IMAP to Maildir
 Establishing connection to mail.gandi.net:993.
 WARNING: Error occured attempting to sync account MLs: Traceback (most recent call last):
  File "/tmp/offlineimap/offlineimap/accounts.py", line 190, in syncrunner
    self.sync(siglistener)
  File "/tmp/offlineimap/offlineimap/accounts.py", line 245, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/tmp/offlineimap/offlineimap/repository/Base.py", line 142, in syncfoldersto
    srcfolders = src.getfolders()
  File "/tmp/offlineimap/offlineimap/repository/IMAP.py", line 231, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/tmp/offlineimap/offlineimap/imapserver.py", line 261, in acquireconnection
    cacertfile = self.sslcacertfile)
  File "/tmp/offlineimap/offlineimap/imaplibutil.py", line 86, in __init__
    IMAP4_SSL.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.6/imaplib.py", line 1138, in __init__
    IMAP4.__init__(self, host, port)
  File "/usr/lib/python2.6/imaplib.py", line 163, in __init__
    self.open(host, port)
  File "/tmp/offlineimap/offlineimap/imaplibutil.py", line 127, in open
    cert_reqs = requirecert)
  File "/usr/lib/python2.6/ssl.py", line 338, in wrap_socket
    suppress_ragged_eofs=suppress_ragged_eofs)
  File "/usr/lib/python2.6/ssl.py", line 120, in __init__
    self.do_handshake()
  File "/usr/lib/python2.6/ssl.py", line 279, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

 ***** Finished processing account MLs

-- 
またね
Kereoz
http://kereoz.org




More information about the OfflineIMAP-project mailing list