With the book "automate the boring stuff with python" I try to learn some programming basics. Currently, I am learning about IMAP Servers. Installing the module imapclient and pyzmail36 worked out pretty well, but the next step doesn´t.
>>> import imapclient
>>> imapObj = imapclient.IMAPClient('imap.gmail.com',ssl=True)
The book tells me, to go on like this, bug a huge Error occurs if I do so. I do not want to copy it all, since it includes my full name (users), but I guesss this is the main problem :
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
>>>
Unfortunately, I can not move on with the Chapter, without logging into the server.
Thank you guys!