OpenXbox / xbox-webapi-python

A python library to authenticate with Xbox Live via your Microsoft Account and provides Xbox related Web-API.
https://pypi.python.org/pypi/xbox-webapi
MIT License
175 stars 44 forks source link

SSL Certification Error #97

Open DelofJ opened 10 months ago

DelofJ commented 10 months ago

This is the error I get

  File "c:\Python311\Lib\site-packages\xbox\webapi\authentication\manager.py", line 111, in _oauth2_token_request
  File "c:\Python311\Lib\site-packages\aiohttp\connector.py", line 982, in _wrap_create_connection
    raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host login.live.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1002)')]

I stumbled upon 2 post for resolving this issue Post 1 Post 2 (Or maybe I did something wrong)