Problem finding certificates on OSX 10.9.2

Justin Abrahms justin at abrah.ms
Tue Aug 5 00:12:59 BST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having difficulty setting up offlineimap for use with gmail on osx
10.9. The issue seems to be in loading information about certificate
authorities. The answer for linux, as best I could tell, would be to
install the `ca-certificates` package. What is the OSX version of this fix?

Another option I've seen is to specify the finger print directly. How do
I determine this fingerprint?

Traceback and config below.

Thanks,
 -justin

- --

[general]
accounts = Personal
pythonfile=~/offlineimap.py

[Account Personal]
localrepository = Local
remoterepository = Remote
status_backend = sqlite

[Repository Local]
type = Maildir
localfolders = ~/mail/personal/

[Repository Remote]
type = Gmail
remoteuser = justin at abrah.ms
remotepasseval = get_keychain_pass(account="justin at abrah.ms",
server="imap.gmail.com")
nametrans = lambda folder: {'drafts':  '[Gmail]/Drafts',
                            'sent':    '[Gmail]/Sent Mail',
                            'flagged': '[Gmail]/Starred',
                            'trash':   '[Gmail]/Trash',
                            'archive': '[Gmail]/All Mail',
                            }.get(folder, folder)
realdelete = no
maxconnections = 3


OfflineIMAP 6.5.5
  Licensed under the GNU GPL v2+ (v2 or any later version)
Account sync Personal:
 *** Processing account Personal
 Establishing connection to imap.gmail.com:993
 ERROR: No CA certificates and no server fingerprints configured.  You
must configure at least something, otherwise having SSL helps nothing.
 *** Finished account 'Personal' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: No CA certificates and no server fingerprints configured.  You
must configure at least something, otherwise having SSL helps nothing.

Traceback:
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/accounts.py",
line 241, in syncrunner
    self.__sync()
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/accounts.py",
line 303, in __sync
    remoterepos.getfolders()
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/IMAP.py",
line 322, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imapserver.py", line
409, in acquireconnection
    fingerprint=fingerprint
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplibutil.py",
line 148, in __init__
    super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs)
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py",
line 2021, in __init__
    IMAP4.__init__(self, host, port, debug, debug_file, identifier,
timeout, debug_buf_lvl)
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py",
line 333, in __init__
    self.open(host, port)
  File
"/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplibutil.py",
line 155, in open
    "having SSL helps nothing.", Offline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJT4BN7AAoJEDIOR8l5WtDWfyQP/0p+rQV+vlqfHhjHqH32UrWa
LNIcBk62BVCSrp90sa6cbCvc6QNn1/pqSW7D/0PW2X8zWtbY2S8/fLf6hBdu0uhU
1rAtZFQsUF6f6ocdT/QH6TZAfQDzYiAftqB6vhQJGndeiouOBnpl9RdHIpeshW+R
9BjD6PGQ2huXhvHqt5A/kszprP0AiJt43PWDreMm4TU9DPx87Cm9a2slaxBrB2C2
W41enqORmXL1d7MWEDZ4DwDNq5AnFISFrBuoOyg8iV0zrQvj49n7zqhVvhBD/78b
5yvMXt/ZF2NPpr94I1hy/DOCTvvXhppLoNIaUjcREUm4SblXRV8B3pMMzNxFTRz5
XUmIlvD4bnAJjJbV+5PqPly93f9KzC7xKQYldykp7kZEgAr/7M8cXAqCcJ/5krXv
6aTEruUufm2NzxL0Sh77eTtu9VfkB0IMsAmSu4FTyi0aigwIHWj41hv/A6zKwDTW
ujONNNCNEd4lPSGonmZq+VEDMag4RsI6D7yOrevMZj5NvfOBlQIbCE0n1J2ARS7A
kt+mhj4HBT8r8iNtGmpXc2mRaST0D96hPCs9FPh+uwg0EUfURqhhMCKcUADd+umV
a+IjKbd/EWNPLV2xelBcoVuSvm/8UlDkmnoK/CNb/FKRvtnDSKKv4S1ovqFmvAOK
p42PVkiffZhQuq0sZKK2
=cbpF
-----END PGP SIGNATURE-----




More information about the OfflineIMAP-project mailing list