SSL certs

Kereoz kereoz at
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


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
 WARNING: Error occured attempting to sync account MLs: Traceback (most recent call last):
  File "/tmp/offlineimap/offlineimap/", line 190, in syncrunner
  File "/tmp/offlineimap/offlineimap/", line 245, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File "/tmp/offlineimap/offlineimap/repository/", line 142, in syncfoldersto
    srcfolders = src.getfolders()
  File "/tmp/offlineimap/offlineimap/repository/", line 231, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/tmp/offlineimap/offlineimap/", line 261, in acquireconnection
    cacertfile = self.sslcacertfile)
  File "/tmp/offlineimap/offlineimap/", line 86, in __init__
    IMAP4_SSL.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.6/", line 1138, in __init__
    IMAP4.__init__(self, host, port)
  File "/usr/lib/python2.6/", line 163, in __init__, port)
  File "/tmp/offlineimap/offlineimap/", line 127, in open
    cert_reqs = requirecert)
  File "/usr/lib/python2.6/", line 338, in wrap_socket
  File "/usr/lib/python2.6/", line 120, in __init__
  File "/usr/lib/python2.6/", line 279, in do_handshake
SSLError: [Errno 1] _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

 ***** Finished processing account MLs


More information about the OfflineIMAP-project mailing list