You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: