on-internet
← Community

How do I fix SSL_verify_failed without bypass (verify=False)?

Stack Overflow ·

I am trying to get a cookie (and rest of the page) from a web site with cookie verification using requests library, but it fails on SSL certificate verification: HTTPSConnectionPool(host='***host***', port=443): Max retries exceeded with url: ***url*** (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)'))) I can bypass it using verify=False, but that is unsecure. I can parse certificates but this is overkill. pip install certifi is not doing anything. How do I fix this? My code: impor

Comments

Sign in or sign up to comment and upvote.

No comments yet.