SSL: CERTIFICATE_VERIFY_FAILED when connecting to a company Exchange Server
I try to send mails from out company exchange server via Python. My problem is, that I get a SSL error. I read a lot of pem-, cer-, crt-files, but I can not connect all these information to have success. I am sure, that if one can fix the issue in my little example script, one could fix the exchange script, too. I read a lot about certificates and ca_bundles, but I don't know how to apply all of that to my issue. Example-Script : import requests requests.get('https://mail.ourserver.loc') Error : C:\Python\python.exe "PATHtoMYproject/testing.py" Traceback (most recent call last): File "C: