Why do HTTPS requests produce SSL CERTIFICATE_VERIFY_FAILED error?

requests.get('https://google.com', verify='/path/to/certfile')

or you can skip verifications by doing this:

requests.get('https://google.com', verify=False)

You should specify your CA.

Leave a Comment