Skip to content
Advertisement

Python get request: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED]

I’m trying a simple Python get request but failing. As described here, I should be able to:

JavaScript

But instead I get

JavaScript

I’m running a script from a Windows command prompt. Is it perhaps because I’m behind a company firewall?

Advertisement

Answer

The quickest fix is setting verify=False:

JavaScript

Posibly duplicate https://stackoverflow.com/a/12864892/8473136

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement