ca-certificates Mac OS X

前端 未结 7 1147
心在旅途
心在旅途 2020-12-07 21:03

I need to install offlineimap and mu4e on emacs. Problem is configuration. When I run offlineimap I get :

OfflineIMAP 6.5.5
Licensed under the GNU GPL v2+ (v         


        
7条回答
  •  旧巷少年郎
    2020-12-07 21:37

    A simple way to proceed is to use the curl certificate bundle. I use MacPorts, so this was obtained with

    sudo port install curl-ca-bundle
    

    You can then run port contents curl-ca-bundle to see what it installed, and then add the following to ~/.offlineimaprc in the section for your remote account

    sslcacertfile =/opt/local/share/curl/curl-ca-bundle.crt
    

    Note that this will also put a link to these certificates as /opt/local/etc/openssl/cert.pem.

提交回复
热议问题