The Computer Oracle

Configuring offlineimap for gmail: SSL error

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Underwater World

--

Chapters
00:00 Configuring Offlineimap For Gmail: Ssl Error
01:02 Accepted Answer Score 46
01:16 Answer 2 Score 2
01:32 Answer 3 Score 4
01:58 Thank you

--

Full question
https://superuser.com/questions/927632/c...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#gmail #ssl #offlineimap

#avk47



ACCEPTED ANSWER

Score 46


Put entry:

sslcacertfile = /etc/ssl/certs/ca-certificates.crt

In section:

[Repository Remote]




ANSWER 2

Score 4


In order for OfflineIMAP to use the system’s default CA roots file put the line

sslcacertfile = OS-DEFAULT

in the [Repository $remoterepository] section of your OfflineIMAP config file.

The relevant documentation from offlineimap.conf reads:

Special value OS-DEFAULT makes Offlineimap to automatically determine system-wide location of standard trusted CA roots file for known OS distributions and use the first bundle encountered (if any).




ANSWER 3

Score 2


For FreeBSD install the port security/ca_root_nss

and then add

sslcacertfile = /usr/local/share/certs/ca-root-nss.crt