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 #2

Closed
Swanand01 opened this issue Sep 30, 2021 · 6 comments
Closed

SSLCertVerificationError #2

Swanand01 opened this issue Sep 30, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@Swanand01
Copy link

Swanand01 commented Sep 30, 2021

Hi, I have been trying to run the example in the readme file, but since today morning, I have been getting an SSLCertVerificationError,

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)

The above exception was the direct cause of the following exception:
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host emkc.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)')]

@Swanand01
Copy link
Author

Please let me know if I should post the full Traceback.
Also, I checked emkc.org and their SSL Certificate seems to be valid

@shhivv
Copy link
Owner

shhivv commented Sep 30, 2021

Thanks for opening an issue!

I tried running the example code and I am getting the same error. I will try finding the solution.

@shhivv shhivv added the bug Something isn't working label Sep 30, 2021
@shhivv
Copy link
Owner

shhivv commented Sep 30, 2021

The linked issue seems to be related to this problem : aio-libs/aiohttp#955

@Harmon758
Copy link

@shhivv
Copy link
Owner

shhivv commented Oct 4, 2021

This is probably because of https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

That is interesting, I will look into that. Thanks for pointing it out.

@shhivv
Copy link
Owner

shhivv commented Oct 7, 2021

Hi, I have been trying to run the example in the readme file, but since today morning, I have been getting an SSLCertVerificationError,

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)

The above exception was the direct cause of the following exception: aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host emkc.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)')]

I have disabled the SSL verification while making a request which prevents the error from happening.

The module can be updated with pip install -U aiopyston

I have updated the docs at : http://aiopyston.readthedocs.io/

Thanks for opening an issue and please let me know if this works.

@shhivv shhivv closed this as completed Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants