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

[bug] SSL: CERTIFICATE_VERIFY_FAILED #9769

Closed
DDkuang opened this issue Oct 9, 2021 · 3 comments
Closed

[bug] SSL: CERTIFICATE_VERIFY_FAILED #9769

DDkuang opened this issue Oct 9, 2021 · 3 comments

Comments

@DDkuang
Copy link

DDkuang commented Oct 9, 2021

Environment Details (include every applicable attribute)

  • Operating System+version:Ubuntu 20.04
  • Compiler+version: gcc 10.3.0
  • Conan version: 1.40.1
  • Python version: 3.8.10

Steps to reproduce (Include if Applicable)

  1. conan search "protobuf*" -r conancenter

Logs (Executed commands with output) (Include/Attach if Applicable)

ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1131)')))

Unable to connect to conancenter=https://center.conan.io

  1. Make sure the remote is reachable or,
  2. Disable it by using conan remote disable,
    Then try again.
@DDkuang
Copy link
Author

DDkuang commented Oct 9, 2021

Use http://curl.haxx.se/ca/cacert.pem to replace .conan/cacert.pem and conan search succeeds.
Please ignore the pull request.

@DDkuang
Copy link
Author

DDkuang commented Oct 9, 2021

#9696

@memsharded
Copy link
Member

Hi @DDkuang

Yes, this was a duplicate of #9695, was solved in 1.40.3 and with a conan config install new repo for older versions. I think this can be closed, thanks!

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

No branches or pull requests

2 participants