HTTPSConnectionPool error when trying to install gtest with conan

I’m trying to use conan to install gtest but when I do so I have the following error:

gtest/1.11.0: Not found in local cache, looking in remotes...
gtest/1.11.0: Trying with 'conancenter'...
ERROR: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))

Unable to connect to conancenter=
1. Make sure the remote is reachable or,
2. Disable it by using conan remote disable,
Then try again.

However I’m not sure why it doesn’t works
The package do exists ( )
And I’m also using conan to install others packages and I have no issue with them

My full conanfile looks like that:




Would anyone please know why I have this error?
I’m on Windows 11 with conan 1.37.0


This error is related to deprecated certificate.

It was discussed here:

To summarize, you have 2 options:

  • Update your Conan client to >= 1.41.0 (Best solution):

    pip install -U conan

  • Install a new certificate (Workaround):

    conan config install