title: Aiohttp raises an certificate error with some sites that browser opens normally
body: <p>code example</p>
  <pre><code>import aiohttp
  import asyncio
  
  
  async def main(url):
      async with aiohttp.ClientSession() as session:
          async with session.get(url) as response:
              print(&quot;Status:&quot;, response.status)
              print(&quot;Content-type:&quot;, response.headers['content-type'])
              html = await response.text()
              print(&quot;Body:&quot;, html[:15], &quot;...&quot;)
  
  
  url = &quot;https://shikimori.one/&quot;
  
  loop = asyncio.get_event_loop()
  loop.run_until_complete(main(url))
  </code></pre>
  <p>traceback</p>
  <pre><code>    Traceback (most recent call last):
    File &quot;D:\projects\parser\test\test_aiohttp.py&quot;, line 20, in &lt;module&gt;
      loop.run_until_complete(main(url))
    File &quot;C:\Users\user\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py&quot;, line 642, in run_until_complete
      return future.result()
    File &quot;D:\projects\parser\test\test_aiohttp.py&quot;, line 8, in main
      async with session.get(url) as response:
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\client.py&quot;, line 1117, in __aenter__
      self._resp = await self._coro
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\client.py&quot;, line 520, in _request
      conn = await self._connector.connect(
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\connector.py&quot;, line 535, in connect
      proto = await self._create_connection(req, traces, timeout)
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\connector.py&quot;, line 892, in _create_connection
      _, proto = await self._create_direct_connection(req, traces, timeout)
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\connector.py&quot;, line 1051, in _create_direct_connection
      raise last_exc
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\connector.py&quot;, line 1020, in _create_direct_connection
      transp, proto = await self._wrap_create_connection(
    File &quot;D:\projects\parser\venv\lib\site-packages\aiohttp\connector.py&quot;, line 971, in _wrap_create_connection
      raise ClientConnectorCertificateError(req.connection_key, exc) from exc
  aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host shikimori.one:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)')]
  </code></pre>
  <p>my config:</p>
  <ul>
  <li>windows 10</li>
  <li>python 3.9.7</li>
  <li>aiohttp 3.7.4.post0</li>
  </ul>
  <p>Everything works fine if I get request with ssl=False parameter. But I don't think this is the right solution to the problem.</p>