[Tutor] getting past an ssl issue

Nathan Smith nathan-tech at hotmail.com
Wed Oct 6 10:20:43 EDT 2021


Hi List,


I wonder if someone could help me here.

Since a few days ago I've been getting the following error with requests:

requests.exceptions.SSLError: HTTPSConnectionPool(host='google.co.uk', 
port=443): Max retries exceeded with url: / (Caused by 
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: self signed certificate in certificate chain 
(_ssl.c:1124)')))


I recently had to add a cert to my trusted list for windows because the 
place I work at is an educational establishment that has an extra https 
firewall or some such, so wonder if this could be related?

This happens with any URI running:

import requests

r=requests.get(any_uri)


I've tried:

pip install --upgrad certifii


But it says I am up to date.


thanks

nathan



More information about the Tutor mailing list