title: How do I fix this error while scraping? It says "certificate has expired"
body: <p>The website is <a href="https://en.wikipedia.org/wiki/List_of_national_capitals_by_population" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/List_of_national_capitals_by_population</a>
  I'm trying to scrape the table with the national capitals</p>
  <pre><code>base_site = &quot;https://en.wikipedia.org/wiki/List_of_national_capitals_by_population&quot;
  
  tables = pd.read_html(base_site)
  
  URLError: &lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)&gt;
  </code></pre>
  <p>Why is this error message popping up? Also, there is more to the error message.</p>