Problem finding certificates on OSX 10.9.2

Rainer M Krug Rainer at krugs.de
Tue Aug 5 21:30:32 BST 2014


Justin Abrahms <justin at abrah.ms> writes:

> 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?

Hi

Please see the thread "HOWTO - OS X - how can I use sslcertfile" which
contains a howto how this can be done.

Cheers,

Rainer


>
> 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
>
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
>
> OfflineIMAP homepage: http://software.complete.org/offlineimap

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug

PGP: 0x0F52F982
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20140805/84fa3aa8/attachment-0003.sig>


More information about the OfflineIMAP-project mailing list