title: Python Web Scraping "certificate verify failed"
body: <p>I'm trying to web scrape some text from a website, but I'm facing the well-known 'certificate verify failed' problem</p>
  <p>I did some research, but I'm afraid that the knowledge to solve this issue is beyond my reach and that's why I ask for help:</p>
  <pre><code>headers = {'User-Agent': 
                 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36'} 
      
      page = 'https://www.bsmsupervisao.com.br/atividades-disciplinares-e-processos/acompanhe-os-processos/parecer/2018-001-pad'
      print(page)
          
      pageTree = requests.get(page, verify=False, headers=headers)
      pageSoup = BeautifulSoup(pageTree.content, 'html.parser')
          
      my_Text = pageSoup.find_all(&quot;h3&quot;, {&quot;class&quot;: &quot;blue&quot;}) 
          
      print(my_Text)
  </code></pre>
  <p>This is the error message:</p>
  <pre><code>SSLError: HTTPSConnectionPool(host='www.bsmsupervisao.com.br', port=443): Max retries exceeded with url: /atividades-disciplinares-e-processos/acompanhe-os-processos/parecer/2018-001-pad (Caused by SSLError(SSLError(&quot;bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])&quot;)))
  </code></pre>