Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSLCertVerificationError #29

Open
swageeth opened this issue May 28, 2024 · 0 comments
Open

SSLCertVerificationError #29

swageeth opened this issue May 28, 2024 · 0 comments

Comments

@swageeth
Copy link

Hi!

I'm using Python 3.11 on Windows 11 and get the error:
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

I have tried installing certifi and run with the command: os.environ['SSL_CERT_FILE'] = certifi.where()
But I still get the same error.

As I know, there is no ssl error in the general Python environment as I can pull websites using the requests library. So the SSL error is specific to this library. Is there a way to disable SSL verification within the library or an alternative by any chance?

I tried disabling using ssl._create_default_https_context = ssl._create_unverified_context too, but no luck.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant