I installed server.crt created following the instructions in Ubuntu certificates. Here is the output when I attempt to run offlineimap. What do I need to do in order to get the SSL working?
OfflineIMAP 7.1.5
Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v2.57 (system), Python v2.7.15rc1, OpenSSL 1.1.0g 2 Nov 2017
Account sync Gmail:
*** Processing account Gmail
Establishing connection to imap.gmail.com:993 (Remote)
ERROR: Unknown SSL protocol connecting to host 'imap.gmail.com' for repository 'Remote'. OpenSSL responded:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)