From 2890dec37f8ad5a6ce7cf896b22dc4b388d047bc Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Fri, 10 Aug 2018 12:13:20 +0200 Subject: [PATCH] Added ssl certfile on osx for openssl pacakge on homebrew A certfile was already specified for osx but only with MacPorts, this patch adds the certfile given with the package `openssl` with homebrew. You can get more info with the command `brew info openssl` on osx with homebrew and openssl installed. Signed-off-by: Philippe Loctaux Signed-off-by: Nicolas Sebrecht --- offlineimap/utils/distro.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/offlineimap/utils/distro.py b/offlineimap/utils/distro.py index d96e033..c716343 100644 --- a/offlineimap/utils/distro.py +++ b/offlineimap/utils/distro.py @@ -18,6 +18,8 @@ __DEF_OS_LOCATIONS = { 'darwin': [ # MacPorts, port curl-ca-bundle '/opt/local/share/curl/curl-ca-bundle.crt', + # homebrew, package openssl + '/usr/local/etc/openssl/cert.pem', ], 'linux-ubuntu': '/etc/ssl/certs/ca-certificates.crt', 'linux-debian': '/etc/ssl/certs/ca-certificates.crt',